1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 19:40:00 +00:00

updated indicies

This commit is contained in:
aldacron 2017-05-18 01:58:08 -07:00
parent 2449fb96ee
commit 6b4d487314

View file

@ -18,6 +18,7 @@ settings:
char_filter: char_filter:
- my_char_filter - my_char_filter
filter: filter:
- resolution
- lowercase - lowercase
- my_ngram - my_ngram
filter: filter:
@ -25,10 +26,13 @@ settings:
type: edgeNGram type: edgeNGram
min_gram: 1 min_gram: 1
max_gram: 15 max_gram: 15
resolution:
type: pattern_capture
patterns: ["(\\d+)x(\\d+)"]
char_filter: char_filter:
my_char_filter: my_char_filter:
type: mapping type: mapping
mappings: ["-=>_", "!=>_"] mappings: ["-=>_", "!=>_", "_=>\\u0020"]
index: index:
# we're running a single es node, so no sharding necessary, # we're running a single es node, so no sharding necessary,
# plus replicas don't really help either. # plus replicas don't really help either.