4 |
- |
1 |
##############################################################
|
|
|
2 |
# INDEXED SEARCH SERVICE SETTINGS
|
|
|
3 |
|
|
|
4 |
# Location of the index files
|
23 |
- |
5 |
index_path = /var/lib/zarafa/search/
|
4 |
- |
6 |
|
|
|
7 |
# run as specific user
|
|
|
8 |
run_as_user = zarafa
|
|
|
9 |
|
|
|
10 |
# run as specific group
|
|
|
11 |
run_as_group = zarafa
|
|
|
12 |
|
|
|
13 |
# control pid file
|
|
|
14 |
pid_file = /var/run/zarafa-search.pid
|
|
|
15 |
|
|
|
16 |
# run server in this path (when not using the -F switch)
|
|
|
17 |
running_path = /
|
|
|
18 |
|
|
|
19 |
# Limit the number of results returned (0 = don't limit)
|
43 |
- |
20 |
limit_results = 1000
|
4 |
- |
21 |
|
|
|
22 |
##############################################################
|
|
|
23 |
# CONNECTION TO ZARAFA SERVER SETTINGS
|
|
|
24 |
#
|
|
|
25 |
|
|
|
26 |
# Socket to find the connection to the Zarafa server.
|
|
|
27 |
# Use https to reach servers over the network
|
|
|
28 |
server_socket = file:///var/run/zarafa
|
|
|
29 |
|
|
|
30 |
# Login to the Zarafa server using this SSL Key
|
23 |
- |
31 |
#sslkey_file = /etc/zarafa/ssl/search.pem
|
4 |
- |
32 |
|
|
|
33 |
# The password of the SSL Key
|
23 |
- |
34 |
#sslkey_pass = replace-with-server-cert-password
|
4 |
- |
35 |
|
|
|
36 |
##############################################################
|
|
|
37 |
# LISTEN SETTINGS
|
|
|
38 |
#
|
|
|
39 |
|
|
|
40 |
# binding address
|
|
|
41 |
# To setup for multi-server, use: http://0.0.0.0:port or https://0.0.0.0:port
|
|
|
42 |
server_bind_name = file:///var/run/zarafa-search
|
|
|
43 |
|
|
|
44 |
# File with RSA key for SSL, used then server_bind_name uses https
|
|
|
45 |
ssl_private_key_file= /etc/zarafa/search/privkey.pem
|
|
|
46 |
|
|
|
47 |
# File with certificate for SSL, used then server_bind_name uses https
|
|
|
48 |
ssl_certificate_file= /etc/zarafa/search/cert.pem
|
|
|
49 |
|
|
|
50 |
##############################################################
|
|
|
51 |
# LOG SETTINGS
|
|
|
52 |
|
|
|
53 |
# Logging method (syslog, file)
|
|
|
54 |
log_method = file
|
|
|
55 |
|
|
|
56 |
# Loglevel (0=no logging, 5=full logging)
|
|
|
57 |
log_level = 2
|
|
|
58 |
|
|
|
59 |
# Logfile for log_method = file, use '-' for stderr
|
|
|
60 |
log_file = /var/log/zarafa/search.log
|
|
|
61 |
|
|
|
62 |
# Log timestamp - prefix each log line with timestamp in 'file' logging mode
|
|
|
63 |
log_timestamp = 1
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
##############################################################
|
|
|
67 |
# ADVANCED INDEXED SEARCH SETTINGS
|
|
|
68 |
|
|
|
69 |
# Size of indexing cache (used for indexing only, not for searching)
|
|
|
70 |
term_cache_size = 64M
|
|
|
71 |
|
|
|
72 |
# Ignore properties upon indexing
|
|
|
73 |
# Only override this setting to expand the list
|
|
|
74 |
#index_exclude_properties = 007D 0064 0C1E 0075 678E 678F
|
|
|
75 |
|
23 |
- |
76 |
# Number of indexing processes used during initial indexing
|
|
|
77 |
# Setting this to a higher value can greatly speed initial indexing up,
|
|
|
78 |
# especially when attachments are indexed.
|
|
|
79 |
index_processes = 1
|
4 |
- |
80 |
|
23 |
- |
81 |
# Back end search engine (currently only xapian is supported)
|
|
|
82 |
search_engine = xapian
|
4 |
- |
83 |
|
|
|
84 |
##############################################################
|
|
|
85 |
# ATTACHMENT INDEX SETTINGS
|
|
|
86 |
|
|
|
87 |
# Should attachments be indexed
|
|
|
88 |
index_attachments = no
|
|
|
89 |
|
|
|
90 |
# Maximum file size for attachments
|
|
|
91 |
index_attachment_max_size = 5M
|
|
|
92 |
|
|
|
93 |
# Scripts to attachment to text parser
|
|
|
94 |
index_attachment_parser = /etc/zarafa/searchscripts/attachments_parser
|
|
|
95 |
|
|
|
96 |
# Maximum amount of memory which a parser may use in bytes (set to 0 for unlimited)
|
|
|
97 |
# If this maximum is exceeded the parser will be killed
|
|
|
98 |
index_attachment_parser_max_memory = 0
|
|
|
99 |
|
|
|
100 |
# Maximim amount of CPU time (in seconds) which a parser may spend on parsing (set to 0 for unlimited)
|
|
|
101 |
# If this maximum is exceeded the parser will be killed
|
|
|
102 |
index_attachment_parser_max_cputime = 0
|
|
|
103 |
|
|
|
104 |
# Filter out parsing of attachment which has a mimetype from this list
|
|
|
105 |
# Only the first part of the mime needs to be given, like 'image'.
|
|
|
106 |
# This field is SPACE separated
|
|
|
107 |
index_attachment_mime_filter =
|
|
|
108 |
|
|
|
109 |
# Filter out parsing of attachment which has an extension from this list
|
|
|
110 |
# (only tested if mimetype was not found on the attachment)
|
|
|
111 |
# This field is SPACE separated
|
|
|
112 |
index_attachment_extension_filter =
|