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>
</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>
<para>This document introduces full text search notions
@ -720,28 +720,27 @@ fvwm
<para>Here follows a sample request that we are going to
explain:</para>
<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>
<para>This would search for all email messages with
<para>This would search for all documents with
<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
<replaceable>lennon</replaceable> and either
<replaceable>live</replaceable> or
<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>
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
<para>The first element <literal>author:"john doe"</literal> is
a phrase search limited to a specific field. Phrase searches are
specified as usual by enclosing the words in double quotes. The
field specification appears before the colon. &RCL; currently
manages the following fields:</para>
field specification appears before the colon (of course this is
not limited to phrases, <literal>author:Balzac</literal> would
be ok too). &RCL; currently manages the following fields:</para>
<itemizedlist>
<listitem><para><literal>title</literal>,
<literal>subject</literal> or <literal>caption</literal> are