kopano-search.8 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. '\" t
  2. .\" Title: kopano-search
  3. .\" Author: [see the "Author" section]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
  5. .\" Date: November 2016
  6. .\" Manual: Kopano Core user reference
  7. .\" Source: Kopano 8
  8. .\" Language: English
  9. .\"
  10. .TH "KOPANO\-SEARCH" "8" "November 2016" "Kopano 8" "Kopano Core user reference"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. kopano-search \- Kopano Indexed Search Service\&.
  32. .SH "SYNOPSIS"
  33. .HP \w'\fBkopano\-search\fR\ 'u
  34. \fBkopano\-search\fR
  35. .SH "DESCRIPTION"
  36. .PP
  37. The kopano\-search daemon is used to index all messages for all users in the kopano\-server\&. Indexing messages greatly enhances the search performance of the kopano\-server\&.
  38. .PP
  39. After starting, the search daemon will continuously update the store index files and will keep listening for connections on the configured TCP port and/or Unix socket for search requests from the
  40. \fBkopano-server\fR(8)\&.
  41. .SH "OPTIONS"
  42. .PP
  43. The Kopano search program takes the following configuration options:
  44. .PP
  45. \fB\-\-config\fR, \fB\-c\fR \fIfile\fR
  46. .RS 4
  47. Specify the location of the configuration file\&.
  48. .sp
  49. Default:
  50. \fI/etc/kopano/search\&.cfg\fR
  51. .RE
  52. .PP
  53. \fB\-\-foreground\fR, \fB\-F\fR
  54. .RS 4
  55. Run in the foreground\&. Normally the kopano\-search process will daemonize and run in the background\&.
  56. .RE
  57. .PP
  58. \fB\-\-server\-socket\fR, \fB\-s\fR \fIpath\fR
  59. .RS 4
  60. Connect to the storage server through
  61. \fIpath\fR, e\&.g\&.
  62. file:///path/to/socket\&. Default:
  63. file:///var/run/kopano/server\&.sock\&.
  64. .RE
  65. .PP
  66. \fB\-\-reindex\fR \fIuser/store\fR
  67. .RS 4
  68. Remove the current index of the given user or store and start to make a new index immediately\&.
  69. .sp
  70. The given argument can be a user name, store GUID or \*(Aqpublic\*(Aq (without quotes) to indicate the public store\&.
  71. .sp
  72. The kopano\-search daemon must already be running on the same machine\&.
  73. .RE
  74. .PP
  75. When invoked with no options, the kopano\-search daemon will search for a configuration file in
  76. /etc/kopano/search\&.cfg\&. If no configuration file is found, default values are used\&. See
  77. \fBkopano-search.cfg\fR(5)
  78. for all configuration options and their default values\&.
  79. .SH "USAGE"
  80. .PP
  81. Starting the kopano\-search daemon with an alternative configuration:
  82. .PP
  83. \fBkopano\-search\fR\ \&
  84. \fB\-c\fR\ \&
  85. \fI/path/to/search\&.cfg\fR
  86. .PP
  87. You may also use the init\&.d scripts:
  88. .PP
  89. \fB/etc/init\&.d/kopano\-search\fR
  90. [\fIstart\fR|
  91. \fIstop\fR|
  92. \fIrestart\fR|
  93. \fIreload\fR]
  94. .SH "AUTHOR"
  95. .PP
  96. Written by Kopano\&.
  97. .SH "SEE ALSO"
  98. .PP
  99. \fBkopano-server\fR(8),
  100. \fBkopano-search.cfg\fR(5)