1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-23 00:20:00 +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. # plus replicas don't really help either.
number_of_shards: 1 number_of_shards: 1
number_of_replicas : 0 number_of_replicas : 0
# since we disabled the _all field, default query the
# name of the torrent.
query: query:
default_field: display_name default_field: display_name
mappings: mappings:
# disable elasticsearch's "helpful" autoschema # disable elasticsearch's "helpful" autoschema
dynamic: false dynamic: false
torrent: torrent:
# don't want everything concatenated
_all:
enabled: false
properties: properties:
id: id:
type: long type: long