1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 09:19:59 +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:
- my_char_filter
filter:
- resolution
- lowercase
- my_ngram
filter:
@ -25,10 +26,13 @@ settings:
type: edgeNGram
min_gram: 1
max_gram: 15
resolution:
type: pattern_capture
patterns: ["(\\d+)x(\\d+)"]
char_filter:
my_char_filter:
type: mapping
mappings: ["-=>_", "!=>_"]
mappings: ["-=>_", "!=>_", "_=>\\u0020"]
index:
# we're running a single es node, so no sharding necessary,
# plus replicas don't really help either.