From 90885aa61b6137ab9ebc031ab487930254f4d44c Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Thu, 7 Jan 2021 10:26:46 +0100 Subject: [PATCH] doc --- src/doc/user/usermanual.html | 21 ++++++++++---- src/doc/user/usermanual.xml | 54 +++++++++++++++++++++--------------- 2 files changed, 48 insertions(+), 27 deletions(-) diff --git a/src/doc/user/usermanual.html b/src/doc/user/usermanual.html index d6fad35b..2957ed0d 100644 --- a/src/doc/user/usermanual.html +++ b/src/doc/user/usermanual.html @@ -4053,17 +4053,28 @@ fs.inotify.max_user_watches=32768 -

Phrases and Proximity searches. A phrase - can be looked for by enclosing it in double quotes. +

Phrases searches. A phrase can be looked + for by enclosing a number of terms in double quotes. Example: "user manual" will look only for occurrences of user immediately followed by manual. You can use the - This phrase field of the + "Phrase" field of the advanced search dialog to the same effect. Phrases can be entered along simple terms in all simple or advanced - search entry fields (except This - exact phrase).

+ search entry fields, except "Phrase".

+

Proximity searches. A proximity search + differs from a phrase search in that it does not impose + an order on the terms. Proximity searches can be + entered by specifying the "Proximity" type in the advanced + search, or by postfixing a phrase search with a 'p'. + Example: "user manual"p would also match "manual user". + Also see the modifier section from + the query language documentation.

AutoPhrases. This option can be set in the preferences dialog. If it is set, a phrase will be automatically built and added to simple searches when diff --git a/src/doc/user/usermanual.xml b/src/doc/user/usermanual.xml index d6fed649..508dfaf9 100644 --- a/src/doc/user/usermanual.xml +++ b/src/doc/user/usermanual.xml @@ -2977,30 +2977,40 @@ fs.inotify.max_user_watches=32768 Working with phrases and proximity - Phrases and Proximity searches - A phrase can be looked for by enclosing it in double - quotes. Example: "user manual" will look - only for occurrences of user immediately - followed by manual. You can use the - This phrase field of the advanced - search dialog to the same effect. Phrases can be entered along - simple terms in all simple or advanced search entry fields - (except This exact phrase). - + Phrases searches + A phrase can be + looked for by enclosing a number of terms in double + quotes. Example: "user manual" will look only + for occurrences of user immediately followed + by manual. You can use + the "Phrase" field of the advanced search + dialog to the same effect. Phrases can be entered along simple + terms in all simple or advanced search entry fields, + except "Phrase". + + Proximity searches + A proximity search differs from a phrase search in that + it does not impose an order on the terms. Proximity searches + can be entered by specifying + the "Proximity" type in the advanced + search, or by postfixing a phrase search with a 'p'. Example: + "user manual"p would also match "manual user". Also + see the modifier + section from the query language + documentation. AutoPhrases - This option can be set in the preferences dialog. If it is - set, a phrase will be automatically built and added to simple - searches when looking for Any terms. This - will not change radically the results, but will give a relevance - boost to the results where the search terms appear as a - phrase. Ie: searching for virtual reality - will still find all documents where either - virtual or reality or - both appear, but those which contain - virtual reality should appear sooner in the - list. - + This option can be set in the preferences dialog. If it is + set, a phrase will be automatically built and added to simple + searches when looking for Any terms. This + will not change radically the results, but will give a relevance + boost to the results where the search terms appear as a + phrase. Ie: searching for virtual reality + will still find all documents where either + virtual or reality or + both appear, but those which contain + virtual reality should appear sooner in the + list. Phrase searches can slow down a query if most of the terms in the phrase are common. If