This commit is contained in:
dockes 2007-05-18 07:41:40 +00:00
parent 8e9d56fbcc
commit 0621c14cec

View File

@ -24,7 +24,7 @@
Dockes</holder> Dockes</holder>
</copyright> </copyright>
<releaseinfo>$Id: usermanual.sgml,v 1.40 2007-02-14 10:10:42 dockes Exp $</releaseinfo> <releaseinfo>$Id: usermanual.sgml,v 1.41 2007-05-18 07:41:40 dockes Exp $</releaseinfo>
<abstract> <abstract>
<para>This document introduces full text search notions <para>This document introduces full text search notions
@ -720,28 +720,27 @@ fvwm
<para>Here follows a sample request that we are going to <para>Here follows a sample request that we are going to
explain:</para> explain:</para>
<programlisting> <programlisting>
mime:message/rfc822 author:"john doe" Beatles OR Lennon Live OR Unplugged -potatoes author:"john doe" Beatles OR Lennon Live OR Unplugged -potatoes
</programlisting> </programlisting>
<para>This would search for all email messages with <para>This would search for all documents with
<replaceable>John Doe</replaceable> <replaceable>John Doe</replaceable>
appearing as a phrase in the <literal>From:</literal> header, appearing as a phrase in the author field (exactly what this is
would depend on the document type, ie: the
<literal>From:</literal> header, for an email message),
and containing either <replaceable>beatles</replaceable> or and containing either <replaceable>beatles</replaceable> or
<replaceable>lennon</replaceable> and either <replaceable>lennon</replaceable> and either
<replaceable>live</replaceable> or <replaceable>live</replaceable> or
<replaceable>unplugged</replaceable> but not <replaceable>unplugged</replaceable> but not
<replaceable>potatoes</replaceable>.</para> <replaceable>potatoes</replaceable> (in any part of the document).</para>
<para>The first element, <literal>mime:message/rfc822</literal> <para>The first element <literal>author:"john doe"</literal> is
is a special switch that restricts the results to be email
messages. There could be several such switches, which would form
a list of allowed types.</para>
<para>The second element <literal>author:"john doe"</literal> is
a phrase search limited to a specific field. Phrase searches are a phrase search limited to a specific field. Phrase searches are
specified as usual by enclosing the words in double quotes. The specified as usual by enclosing the words in double quotes. The
field specification appears before the colon. &RCL; currently field specification appears before the colon (of course this is
manages the following fields:</para> not limited to phrases, <literal>author:Balzac</literal> would
be ok too). &RCL; currently manages the following fields:</para>
<itemizedlist> <itemizedlist>
<listitem><para><literal>title</literal>, <listitem><para><literal>title</literal>,
<literal>subject</literal> or <literal>caption</literal> are <literal>subject</literal> or <literal>caption</literal> are