|
a/src/README |
|
b/src/README |
|
... |
|
... |
621 |
The query language processor is activated on the simple search entry when
|
621 |
The query language processor is activated on the simple search entry when
|
622 |
the search mode selector is set to Query Language.
|
622 |
the search mode selector is set to Query Language.
|
623 |
|
623 |
|
624 |
Here follows a sample request that we are going to explain:
|
624 |
Here follows a sample request that we are going to explain:
|
625 |
|
625 |
|
626 |
mime:message/rfc822 author:"john doe" Beatles OR Lennon Live OR Unplugged -potatoes
|
626 |
author:"john doe" Beatles OR Lennon Live OR Unplugged -potatoes
|
627 |
|
627 |
|
628 |
|
628 |
|
629 |
This would search for all email messages with John Doe appearing as a
|
629 |
This would search for all documents with John Doe appearing as a phrase in
|
630 |
phrase in the From: header, and containing either beatles or lennon and
|
630 |
the author field (exactly what this is would depend on the document type,
|
631 |
either live or unplugged but not potatoes.
|
631 |
ie: the From: header, for an email message), and containing either beatles
|
|
|
632 |
or lennon and either live or unplugged but not potatoes (in any part of
|
|
|
633 |
the document).
|
632 |
|
634 |
|
633 |
The first element, mime:message/rfc822 is a special switch that restricts
|
|
|
634 |
the results to be email messages. There could be several such switches,
|
|
|
635 |
which would form a list of allowed types.
|
|
|
636 |
|
|
|
637 |
The second element author:"john doe" is a phrase search limited to a
|
635 |
The first element author:"john doe" is a phrase search limited to a
|
638 |
specific field. Phrase searches are specified as usual by enclosing the
|
636 |
specific field. Phrase searches are specified as usual by enclosing the
|
639 |
words in double quotes. The field specification appears before the colon.
|
637 |
words in double quotes. The field specification appears before the colon
|
|
|
638 |
(of course this is not limited to phrases, author:Balzac would be ok too).
|
640 |
Recoll currently manages the following fields:
|
639 |
Recoll currently manages the following fields:
|
641 |
|
640 |
|
642 |
* title, subject or caption are synonyms which specify data to be
|
641 |
* title, subject or caption are synonyms which specify data to be
|
643 |
searched for in the document title or subject.
|
642 |
searched for in the document title or subject.
|
644 |
|
643 |
|