mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 19:10:00 +00:00
es_mapping: update turning off dynamic mappings
they changed it in 6.x https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic.html https://github.com/elastic/elasticsearch/pull/25734
This commit is contained in:
parent
90607d6993
commit
a09b9a6511
|
@ -78,14 +78,13 @@ settings:
|
|||
# plus replicas don't really help either.
|
||||
number_of_shards: 1
|
||||
number_of_replicas : 0
|
||||
mapper:
|
||||
# disable elasticsearch's "helpful" autoschema
|
||||
dynamic: false
|
||||
# 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:
|
||||
|
|
Loading…
Reference in a new issue