document more options

This commit is contained in:
Jean-Francois Dockes 2010-09-11 17:19:52 +02:00
parent ceb996c8fb
commit 07a94aced1

View File

@ -9,34 +9,47 @@ recollq \- command line / standard output Recoll query command.
<configdir> <configdir>
] ]
[ [
.B -b
]
[
.B -d
]
[
.B -n
<cnt>
]
[
.B -o .B -o
| |
.B -l
|
.B -f .B -f
| |
.B -a .B -a
] ]
[ [
.B -b
]
[
.B -d
]
[
.B -A
]
[
.B -m
]
[
.B -n
<cnt>
]
[
.B -s .B -s
<stemming language> <stemming language>
] ]
[ [
.B -S
<fldname>
]
[
.B -D
]
[
.B -i .B -i
<additional index directory> <additional index directory>
] ]
<query string> <query string>
.B recollq -P
.SH DESCRIPTION .SH DESCRIPTION
The The
.B recollq .B recollq
@ -67,14 +80,28 @@ simple search query.
(basic) can be specified to only print the result urls in the output (basic) can be specified to only print the result urls in the output
stream. stream.
.PP .PP
.B -n
<cnt>
can be used to set the maximum number of results that should be printed.
.PP
If If
.B -d .B -d
is set, the text for the result files contents will be dumped to stdout. is set, the text for the result files contents will be dumped to stdout.
.PP .PP
If
.B -m
is set, the whole metadata array will be dumped for each document.
.PP
If
.B -A
is set, the document abstracts will be printed.
.PP
.B -S
<fieldname>
sorts the results according to the specified field. Use
.B -D
for descending order.
.PP
.B -n
<cnt>
can be used to set the maximum number of results that should be printed.
.PP
.B -s .B -s
<language> <language>
selects the word stemming language. The value should match an existing selects the word stemming language. The value should match an existing
@ -84,6 +111,10 @@ stemming database (as set in the configuration or added with recollindex -s).
<extra dbdir> <extra dbdir>
adds the specified Xapian index to the set used for the query. Can be adds the specified Xapian index to the set used for the query. Can be
specified multiple times. specified multiple times.
.PP
.B recollq -P
(Period) will print the minimum and maximum modification years for
documents in the index.
.SH SEE ALSO .SH SEE ALSO
.PP .PP