[2fcc226] | 1 | ############################################################## |
---|
| 2 | # INDEXED SEARCH SERVICE SETTINGS |
---|
| 3 | |
---|
| 4 | # Location of the index files |
---|
[2c1b61a] | 5 | # index_path = /var/lib/kopano/search |
---|
| 6 | index_path = /home/system/kopano_index/ |
---|
[2fcc226] | 7 | |
---|
| 8 | # run as specific user |
---|
[2c1b61a] | 9 | #run_as_user = kopano |
---|
[2fcc226] | 10 | |
---|
| 11 | # run as specific group |
---|
[2c1b61a] | 12 | #run_as_group = kopano |
---|
[2fcc226] | 13 | |
---|
[2c1b61a] | 14 | # control pid file |
---|
| 15 | #pid_file = /var/run/kopano/search.pid |
---|
[2fcc226] | 16 | |
---|
| 17 | # run server in this path (when not using the -F switch) |
---|
[2c1b61a] | 18 | #running_path = /var/lib/kopano |
---|
[2fcc226] | 19 | |
---|
| 20 | # Limit the number of results returned (0 = don't limit) |
---|
[2c1b61a] | 21 | limit_results = 1000 |
---|
[2fcc226] | 22 | |
---|
| 23 | ############################################################## |
---|
[2c1b61a] | 24 | # CONNECTION TO STORAGE SERVER SETTINGS |
---|
[2fcc226] | 25 | # |
---|
| 26 | |
---|
[2c1b61a] | 27 | # Socket to find the connection to the storage server. |
---|
| 28 | # Use https to reach servers over the network |
---|
| 29 | #server_socket = file:///var/run/kopano/server.sock |
---|
[2fcc226] | 30 | |
---|
[2c1b61a] | 31 | # Login to the storage server using this SSL Key |
---|
[2fcc226] | 32 | #sslkey_file = /etc/kopano/ssl/search.pem |
---|
| 33 | |
---|
| 34 | # The password of the SSL Key |
---|
| 35 | #sslkey_pass = replace-with-server-cert-password |
---|
| 36 | |
---|
| 37 | ############################################################## |
---|
| 38 | # LISTEN SETTINGS |
---|
| 39 | # |
---|
| 40 | |
---|
[2c1b61a] | 41 | # binding address |
---|
| 42 | # To setup for multi-server, use: http://0.0.0.0:port or https://0.0.0.0:port |
---|
| 43 | server_bind_name = file:///var/run/kopano/search.sock |
---|
[2fcc226] | 44 | |
---|
| 45 | # File with RSA key for SSL, used then server_bind_name uses https |
---|
[2c1b61a] | 46 | ssl_private_key_file = /etc/kopano/search/privkey.pem |
---|
[2fcc226] | 47 | |
---|
| 48 | # File with certificate for SSL, used then server_bind_name uses https |
---|
[2c1b61a] | 49 | ssl_certificate_file = /etc/kopano/search/cert.pem |
---|
[2fcc226] | 50 | |
---|
| 51 | ############################################################## |
---|
| 52 | # LOG SETTINGS |
---|
| 53 | |
---|
| 54 | # Logging method (syslog, file) |
---|
| 55 | log_method = file |
---|
| 56 | |
---|
[2c1b61a] | 57 | # Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug)) |
---|
| 58 | #log_level = 3 |
---|
[2fcc226] | 59 | |
---|
| 60 | # Logfile for log_method = file, use '-' for stderr |
---|
| 61 | log_file = /var/log/kopano/search.log |
---|
| 62 | |
---|
| 63 | # Log timestamp - prefix each log line with timestamp in 'file' logging mode |
---|
| 64 | log_timestamp = 1 |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | ############################################################## |
---|
| 68 | # ADVANCED INDEXED SEARCH SETTINGS |
---|
| 69 | |
---|
[2c1b61a] | 70 | # Back end search engine (currently only xapian is supported) |
---|
| 71 | #search_engine = xapian |
---|
| 72 | |
---|
[2fcc226] | 73 | # Size of indexing cache (used for indexing only, not for searching) |
---|
| 74 | term_cache_size = 64M |
---|
| 75 | |
---|
| 76 | # Ignore properties upon indexing |
---|
| 77 | # Only override this setting to expand the list |
---|
| 78 | #index_exclude_properties = 007D 0064 0C1E 0075 678E 678F |
---|
| 79 | |
---|
[2c1b61a] | 80 | # Number of indexing processes used during initial indexing |
---|
| 81 | # Setting this to a higher value can greatly speed up initial indexing, |
---|
| 82 | # especially when attachments are indexed. |
---|
| 83 | index_processes = 1 |
---|
[2fcc226] | 84 | |
---|
[2c1b61a] | 85 | # Index junk folder |
---|
| 86 | #index_junk = yes |
---|
[2fcc226] | 87 | |
---|
[2c1b61a] | 88 | # Prepare search suggestions ("did-you-mean?") during indexing |
---|
| 89 | # This takes up a large percentage of the used disk space |
---|
| 90 | #suggestions = yes |
---|
[2fcc226] | 91 | |
---|
| 92 | ############################################################## |
---|
| 93 | # ATTACHMENT INDEX SETTINGS |
---|
| 94 | |
---|
| 95 | # Should attachments be indexed |
---|
| 96 | index_attachments = no |
---|
| 97 | |
---|
| 98 | # Maximum file size for attachments |
---|
| 99 | index_attachment_max_size = 5M |
---|