mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 19:10:00 +00:00
es_mapping: remove _all field
deprecated in 6.0 anyway
This commit is contained in:
parent
a09b9a6511
commit
1ba82f3fa8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue