1 | ############################################################## |
---|
2 | # INDEXED SEARCH SERVICE SETTINGS |
---|
3 | |
---|
4 | # Location of the index files |
---|
5 | index_path = /home/system/kopano_index/ |
---|
6 | |
---|
7 | # run as specific user |
---|
8 | run_as_user = kopano |
---|
9 | |
---|
10 | # run as specific group |
---|
11 | run_as_group = kopano |
---|
12 | |
---|
13 | |
---|
14 | # run server in this path (when not using the -F switch) |
---|
15 | running_path = / |
---|
16 | |
---|
17 | # Limit the number of results returned (0 = don't limit) |
---|
18 | limit_results = 0 |
---|
19 | |
---|
20 | |
---|
21 | ############################################################## |
---|
22 | # CONNECTION TO KOPANO SERVER SETTINGS |
---|
23 | # |
---|
24 | |
---|
25 | |
---|
26 | # Login to the Kopano server using this SSL Key |
---|
27 | #sslkey_file = /etc/kopano/ssl/search.pem |
---|
28 | |
---|
29 | # The password of the SSL Key |
---|
30 | #sslkey_pass = replace-with-server-cert-password |
---|
31 | |
---|
32 | ############################################################## |
---|
33 | # LISTEN SETTINGS |
---|
34 | # |
---|
35 | |
---|
36 | |
---|
37 | # File with RSA key for SSL, used then server_bind_name uses https |
---|
38 | #ssl_private_key_file= /etc/kopano/search/privkey.pem |
---|
39 | |
---|
40 | # File with certificate for SSL, used then server_bind_name uses https |
---|
41 | #ssl_certificate_file= /etc/kopano/search/cert.pem |
---|
42 | |
---|
43 | ############################################################## |
---|
44 | # LOG SETTINGS |
---|
45 | |
---|
46 | # Logging method (syslog, file) |
---|
47 | log_method = file |
---|
48 | |
---|
49 | # Loglevel (0=no logging, 5=full logging, 6=debugging) |
---|
50 | log_level = 5 |
---|
51 | |
---|
52 | # Logfile for log_method = file, use '-' for stderr |
---|
53 | log_file = /var/log/kopano/search.log |
---|
54 | |
---|
55 | # Log timestamp - prefix each log line with timestamp in 'file' logging mode |
---|
56 | log_timestamp = 1 |
---|
57 | |
---|
58 | log_buffer_size = 0 |
---|
59 | |
---|
60 | ############################################################## |
---|
61 | # ADVANCED INDEXED SEARCH SETTINGS |
---|
62 | |
---|
63 | # Size of indexing cache (used for indexing only, not for searching) |
---|
64 | term_cache_size = 64M |
---|
65 | |
---|
66 | # Ignore properties upon indexing |
---|
67 | # Only override this setting to expand the list |
---|
68 | #index_exclude_properties = 007D 0064 0C1E 0075 678E 678F |
---|
69 | |
---|
70 | ############################################################## |
---|
71 | # INDEX OPTIMIZATION SCHEDULE |
---|
72 | |
---|
73 | # Start the optimization routine at this hour, in 24h notation. |
---|
74 | #optimize_start = 2 |
---|
75 | |
---|
76 | # Stop the optimization routine at this hour, in 24h notation. |
---|
77 | # The current index that is being optimized is finished before stopping. |
---|
78 | #optimize_stop = 5 |
---|
79 | |
---|
80 | # Only optimize indexes which wern't optimized for the past X days. |
---|
81 | #optimize_age = 7 |
---|
82 | |
---|
83 | ############################################################## |
---|
84 | # ATTACHMENT INDEX SETTINGS |
---|
85 | |
---|
86 | # Should attachments be indexed |
---|
87 | index_attachments = no |
---|
88 | |
---|
89 | # Maximum file size for attachments |
---|
90 | index_attachment_max_size = 5M |
---|
91 | |
---|
92 | # Scripts to attachment to text parser |
---|
93 | index_attachment_parser = /etc/kopano/searchscripts/attachments_parser |
---|
94 | |
---|
95 | # Maximum amount of memory which a parser may use in bytes (set to 0 for unlimited) |
---|
96 | # If this maximum is exceeded the parser will be killed |
---|
97 | index_attachment_parser_max_memory = 0 |
---|
98 | |
---|
99 | # Maximim amount of CPU time (in seconds) which a parser may spend on parsing (set to 0 for unlimited) |
---|
100 | # If this maximum is exceeded the parser will be killed |
---|
101 | index_attachment_parser_max_cputime = 0 |
---|
102 | |
---|
103 | # Filter out parsing of attachment which has a mimetype from this list |
---|
104 | # Only the first part of the mime needs to be given, like 'image'. |
---|
105 | # This field is SPACE separated |
---|
106 | index_attachment_mime_filter = |
---|
107 | |
---|
108 | # Filter out parsing of attachment which has an extension from this list |
---|
109 | # (only tested if mimetype was not found on the attachment) |
---|
110 | # This field is SPACE separated |
---|
111 | index_attachment_extension_filter = |
---|
112 | |
---|
113 | #number of parallel indexers |
---|
114 | index_processes=4 |
---|
115 | |
---|