This commit is contained in:
Jean-Francois Dockes 2021-01-07 10:26:46 +01:00
parent bab8cde508
commit 90885aa61b
2 changed files with 48 additions and 27 deletions

View File

@ -4053,17 +4053,28 @@ fs.inotify.max_user_watches=32768
</div> </div>
</div> </div>
</div> </div>
<p><b>Phrases and Proximity searches.&nbsp;</b>A phrase <p><b>Phrases searches.&nbsp;</b>A phrase can be looked
can be looked for by enclosing it in double quotes. for by enclosing a number of terms in double quotes.
Example: <code class="literal">"user manual"</code> Example: <code class="literal">"user manual"</code>
will look only for occurrences of <code class= will look only for occurrences of <code class=
"literal">user</code> immediately followed by "literal">user</code> immediately followed by
<code class="literal">manual</code>. You can use the <code class="literal">manual</code>. You can use the
<span class="guilabel">This phrase</span> field of the <span class="guilabel">"Phrase"</span> field of the
advanced search dialog to the same effect. Phrases can advanced search dialog to the same effect. Phrases can
be entered along simple terms in all simple or advanced be entered along simple terms in all simple or advanced
search entry fields (except <span class="guilabel">This search entry fields, except <span class=
exact phrase</span>).</p> "guilabel">"Phrase"</span>.</p>
<p><b>Proximity searches.&nbsp;</b>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 <span class=
"guilabel">"Proximity"</span> 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 <a class="link" href=
"#RCL.SEARCH.LANG.MODIFIERS" title=
"3.5.2.&nbsp;Modifiers">the modifier section</a> from
the query language documentation.</p>
<p><b>AutoPhrases.&nbsp;</b>This option can be set in <p><b>AutoPhrases.&nbsp;</b>This option can be set in
the preferences dialog. If it is set, a phrase will be the preferences dialog. If it is set, a phrase will be
automatically built and added to simple searches when automatically built and added to simple searches when

View File

@ -2977,30 +2977,40 @@ fs.inotify.max_user_watches=32768
<sect3 id="RCL.SEARCH.GUI.TIPS.PHRASES"> <sect3 id="RCL.SEARCH.GUI.TIPS.PHRASES">
<title>Working with phrases and proximity</title> <title>Working with phrases and proximity</title>
<formalpara><title>Phrases and Proximity searches</title> <formalpara><title>Phrases searches</title>
<para>A phrase can be looked for by enclosing it in double <para>A phrase can be
quotes. Example: <literal>"user manual"</literal> will look looked for by enclosing a number of terms in double
only for occurrences of <literal>user</literal> immediately quotes. Example: <literal>"user manual"</literal> will look only
followed by <literal>manual</literal>. You can use the for occurrences of <literal>user</literal> immediately followed
<guilabel>This phrase</guilabel> field of the advanced by <literal>manual</literal>. You can use
search dialog to the same effect. Phrases can be entered along the <guilabel>"Phrase"</guilabel> field of the advanced search
simple terms in all simple or advanced search entry fields dialog to the same effect. Phrases can be entered along simple
(except <guilabel>This exact phrase</guilabel>).</para> terms in all simple or advanced search entry fields,
</formalpara> except <guilabel>"Phrase"</guilabel>. </para></formalpara>
<formalpara><title>Proximity searches</title>
<para>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 <guilabel>"Proximity"</guilabel> 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 <link linkend="RCL.SEARCH.LANG.MODIFIERS">the modifier
section</link> from the query language
documentation.</para></formalpara>
<formalpara><title>AutoPhrases</title> <formalpara><title>AutoPhrases</title>
<para>This option can be set in the preferences dialog. If it is <para>This option can be set in the preferences dialog. If it is
set, a phrase will be automatically built and added to simple set, a phrase will be automatically built and added to simple
searches when looking for <literal>Any terms</literal>. This searches when looking for <literal>Any terms</literal>. This
will not change radically the results, but will give a relevance will not change radically the results, but will give a relevance
boost to the results where the search terms appear as a boost to the results where the search terms appear as a
phrase. Ie: searching for <literal>virtual reality</literal> phrase. Ie: searching for <literal>virtual reality</literal>
will still find all documents where either will still find all documents where either
<literal>virtual</literal> or <literal>reality</literal> or <literal>virtual</literal> or <literal>reality</literal> or
both appear, but those which contain both appear, but those which contain
<literal>virtual reality</literal> should appear sooner in the <literal>virtual reality</literal> should appear sooner in the
list.</para> list.</para></formalpara>
</formalpara>
<para>Phrase searches can slow down a query if most of the <para>Phrase searches can slow down a query if most of the
terms in the phrase are common. If terms in the phrase are common. If