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

es_mapping: remove _all field

deprecated in 6.0 anyway
This commit is contained in:
queue 2019-06-30 20:13:43 -06:00
parent a09b9a6511
commit 1ba82f3fa8

View file

@ -78,17 +78,12 @@ settings:
# plus replicas don't really help either.
number_of_shards: 1
number_of_replicas : 0
# since we disabled the _all field, default query the
# name of the torrent.
query:
default_field: display_name
mappings:
# disable elasticsearch's "helpful" autoschema
dynamic: false
torrent:
# don't want everything concatenated
_all:
enabled: false
properties:
id:
type: long