search.cfg 2.9 KB

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