mirror of https://github.com/djcb/mu.git
* manpage: small update, still WIP
This commit is contained in:
parent
877be154d0
commit
2184e1e83f
24
man/mu.1
24
man/mu.1
|
@ -95,8 +95,7 @@ command starts a search for a specific message in the database.
|
||||||
.SS query syntax
|
.SS query syntax
|
||||||
In its simplest form, you can just can just specify a number of words, and
|
In its simplest form, you can just can just specify a number of words, and
|
||||||
.B mu
|
.B mu
|
||||||
will try to find matches for those, for common fields like the e-mail's
|
will search for messages that match all of those words. So,
|
||||||
sender/recipient, the subject and the message body. So,
|
|
||||||
.nf
|
.nf
|
||||||
$ mu find monkey banana
|
$ mu find monkey banana
|
||||||
.fi
|
.fi
|
||||||
|
@ -141,31 +140,10 @@ write logging information to standard error instead of to
|
||||||
.I <mu-home-directory>/mu-find.log,
|
.I <mu-home-directory>/mu-find.log,
|
||||||
which is the default.
|
which is the default.
|
||||||
|
|
||||||
.B --log-append, -a
|
|
||||||
append to the log file instead of overwriting it for every run, which is the default.
|
|
||||||
|
|
||||||
.B --debug, -d
|
.B --debug, -d
|
||||||
add a lot of logging for debugging purposes
|
add a lot of logging for debugging purposes
|
||||||
|
|
||||||
.SS Performance tuning
|
|
||||||
Even though the defaults should be fine for most use cases, it is possible to
|
|
||||||
tune the indexing process.
|
|
||||||
The following options are
|
|
||||||
available:
|
|
||||||
|
|
||||||
.B --tune-sqlite-transaction-size=
|
|
||||||
.B --tune-xapian-transaction-size=
|
|
||||||
.I <size>
|
|
||||||
Sets the number of messages that are updated/inserted per transaction, for
|
|
||||||
sqlite and Xapian. Setting the number higher improves the performance, but
|
|
||||||
also increases the memory usage very significantly. And of course, in case of
|
|
||||||
problems, up to
|
|
||||||
.I<size>
|
|
||||||
changes will be rolled back (this is very rare though). For SQLite, the
|
|
||||||
default is 100 and for Xapian it is 1000. It seems that setting the value
|
|
||||||
higher does not improve performance very much.
|
|
||||||
|
|
||||||
|
|
||||||
.SH CONFIGURATION
|
.SH CONFIGURATION
|
||||||
Instead of specifying the options on the command line, you can also specify
|
Instead of specifying the options on the command line, you can also specify
|
||||||
them in the
|
them in the
|
||||||
|
|
Loading…
Reference in New Issue