]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
man: doveadm-index.1: Added description for options -n and -q.
authorPascal Volk <user@localhost.localdomain.org>
Sat, 23 Nov 2013 19:35:09 +0000 (19:35 +0000)
committerPascal Volk <user@localhost.localdomain.org>
Sat, 23 Nov 2013 19:35:09 +0000 (19:35 +0000)
doc/man/doveadm-index.1.in

index 14ddb95002aa394b31523ebf3da62ca9efe5f2dd..ecd9b8328e495e3bb10f202cd0254937e182bc10 100644 (file)
@@ -1,21 +1,27 @@
-.\" Copyright (c) 2010-2011 Dovecot authors, see the included COPYING file
-.TH DOVEADM\-INDEX 1 "2011-05-11" "Dovecot v2.2" "Dovecot"
+.\" Copyright (c) 2010-2013 Dovecot authors, see the included COPYING file
+.TH DOVEADM\-INDEX 1 "2013-11-23" "Dovecot v2.2" "Dovecot"
 .SH NAME
 doveadm\-index \- Index mailboxes
 .\"------------------------------------------------------------------------
 .SH SYNOPSIS
 .BR doveadm " [" \-Dv "] " index " [" \-S
-.IR socket_path "] " mailbox
+.IR socket_path ]
+.RB [ \-q "] [" \-n
+.IR max_recent "] " mailbox
 .\"-------------------------------------
 .br
 .BR doveadm " [" \-Dv "] " index " [" \-S
 .IR socket_path "] "
-.BI \-A \ mailbox
+.B \-A
+.RB [ \-q "] [" \-n
+.IR max_recent "] " mailbox
 .\"-------------------------------------
 .br
 .BR doveadm " [" \-Dv "] " index " [" \-S
 .IR socket_path "] "
-.BI \-u " user mailbox"
+.BI \-u \ user
+.RB [ \-q "] [" \-n
+.IR max_recent "] " mailbox
 .\"------------------------------------------------------------------------
 .SH DESCRIPTION
 Add unindexed messages in a mailbox into index/cache file. If full text
@@ -26,6 +32,17 @@ mailbox\(aqs caching decisions, so it won\(aqt do anything useful for
 mailboxes that user\(aqs client hasn\(aqt accessed yet. You can use
 .B doveadm dump
 command to show a specific mailbox\(aqs current caching decisions.
+.PP
+Messages can also be added automatically to full text search index using:
+.sp
+.nf
+plugin {
+  ...
+  fts_autoindex = yes
+}
+.fi
+in
+.IR @pkgsysconfdir@/conf.d/90\-plugin.conf .
 .\"------------------------------------------------------------------------
 @INCLUDE:global-options@
 .\" --- command specific options --- "/.
@@ -35,6 +52,25 @@ Command specific
 .\"-------------------------------------
 @INCLUDE:option-A@
 .\"-------------------------------------
+.TP
+.BI \-n \ max_recent
+An integer value, which specifies the maximum number of \(rsRecent
+messages in mailboxes.
+If the mailbox contains more than
+.I max_recent
+messages with \(rsRecent flag set, the mailbox will not be indexed.
+This may be useful to avoid unnecessary indexing for large mailboxes that
+are never opened.
+.\"-------------------------------------
+.TP
+.B \-q
+Queues the indexing to be run by indexer process.
+Without \-q the indexing is done directly by the
+.BR doveadm (1)
+process.
+Some backends like fts\-lucene can\(aqt handle multiple processes updating
+the indexes simultaneously, so \-q should usually be used on production.
+.\"-------------------------------------
 @INCLUDE:option-S-socket@
 .\"-------------------------------------
 @INCLUDE:option-u-user@