Update manticore search config. Closes #1276

This commit is contained in:
DariusIII
2023-02-26 14:22:19 +01:00
parent 9ef5ec8311
commit d42b23544a
+18 -4
View File
@@ -11,7 +11,7 @@ index releases_rt
# keywords is much faster to index with substrings, and index is much (3-10x) smaller
# keywords supports wildcards, crc does not, and never will
# optional, default is 'keywords'
# dict = keywords
dict = keywords
# !*: These allow wildcard searches, they take more ram/disk space.
# !*: If you want to turn it off, put min_infix_len, min_prefix_len and enable_star to 0.
@@ -27,9 +27,16 @@ index releases_rt
#
# !*: DO NOT ENABLE BOTH min_prefix_len AND min_infix_len AT THE SAME TIME.
#
min_prefix_len = 0
min_prefix_len = 1
min_infix_len = 2
# Expands keywords with their exact forms (i.e. the forms of the keywords before applying any morphological modifications) and/or stars when possible. The supported values are:
#
# 1 - expand to both the exact form and the form with the stars. running will become (running | *running* | =running)
# exact - augment the keyword with only its exact form. running will become (running | =running)
# star - augment the keyword by adding * around it. running will become (running | *running*) Optional, default is 0 (do not expand keywords).
expand_keywords = 1
# !*: Path to where the index files will be stored.
# !*: http://sphinxsearch.com/docs/current.html#conf-path
path = /var/lib/manticore/data/releases_rt
@@ -63,7 +70,7 @@ index predb_rt
# keywords is much faster to index with substrings, and index is much (3-10x) smaller
# keywords supports wildcards, crc does not, and never will
# optional, default is 'keywords'
# dict = keywords
dict = keywords
# !*: These allow wildcard searches, they take more ram/disk space.
# !*: If you want to turn it off, put min_infix_len, min_prefix_len and enable_star to 0.
@@ -79,9 +86,16 @@ index predb_rt
#
# !*: DO NOT ENABLE BOTH min_prefix_len AND min_infix_len AT THE SAME TIME.
#
min_prefix_len = 0
min_prefix_len = 1
min_infix_len = 2
# Expands keywords with their exact forms (i.e. the forms of the keywords before applying any morphological modifications) and/or stars when possible. The supported values are:
# 1 - expand to both the exact form and the form with the stars. running will become (running | *running* | =running)
# exact - augment the keyword with only its exact form. running will become (running | =running)
# star - augment the keyword by adding * around it. running will become (running | *running*) Optional, default is 0 (do not expand keywords).
expand_keywords = 1
# !*: Path to where the index files will be stored.
# !*: http://sphinxsearch.com/docs/current.html#conf-path
path = /var/lib/manticore/data/predb_rt