diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2019-07-15 16:38:26 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2019-08-19 11:43:50 +0200 |
commit | a8aa08498a7a16b40a4559034abb47e37d719ba4 (patch) | |
tree | 26ad19697f5509e0424ee858d29edac7643a9617 | |
parent | e0ab5c5e37651b7c38b6dbd371aeed01d32e70a8 (diff) |
Doc: Update info on full-text search
Update screenshot.
Fixes: QTBUG-65064
Change-Id: Ic8d1201e0f2947419836d633bc53997d009d646e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
-rw-r--r-- | src/assistant/assistant/doc/images/assistant-search.png | bin | 76139 -> 11710 bytes | |||
-rw-r--r-- | src/assistant/assistant/doc/src/assistant-quick-guide.qdoc | 21 |
2 files changed, 6 insertions, 15 deletions
diff --git a/src/assistant/assistant/doc/images/assistant-search.png b/src/assistant/assistant/doc/images/assistant-search.png Binary files differindex 3ab3caf9d..847af8ba2 100644 --- a/src/assistant/assistant/doc/images/assistant-search.png +++ b/src/assistant/assistant/doc/images/assistant-search.png diff --git a/src/assistant/assistant/doc/src/assistant-quick-guide.qdoc b/src/assistant/assistant/doc/src/assistant-quick-guide.qdoc index 28590fa25..411bf19e1 100644 --- a/src/assistant/assistant/doc/src/assistant-quick-guide.qdoc +++ b/src/assistant/assistant/doc/src/assistant-quick-guide.qdoc @@ -169,8 +169,12 @@ \QA provides a powerful full text search engine. You can search for certain words or text in the \gui Search window. Enter the text you want to look for and press \key{Enter} or click \gui{Search}. The search is not case sensitive. - For example, \b Foo, \b fOo and \b FOO are all treated as the same. The - following are examples of common search patterns: + For example, \b Foo, \b fOo and \b FOO are all treated as the same. + + You can create complex queries using the + \l{https://sqlite.org/fts5.html#full_text_query_syntax}{FTS query syntax}. + + The following are examples of common search patterns: \list \li \c deep -- lists all the documents that contain the word \b deep @@ -182,19 +186,6 @@ \b {deep copy} \endlist - Use the \gui{Advanced search} for more flexibility. - You can specify some words so that hits containing these are excluded from the - result, or you can search for an exact phrase. Searching for similar words will - give results like these: - - \list - \li \c{QStin} -- lists all the documents with titles that are similar, such as \c{QString} - \li \c{QSting} -- lists all the documents with titles that are similar, such as \c{QString} - \li \c{QStrin} -- lists all the documents with titles that are similar, such as \c{QString} - \endlist - - Options can be combined to improve the search results. - The list of documents found is ordered according to the number of occurrences of the search text which they contain, with those containing the highest number of occurrences appearing first. Simply click any |