nyaa/nyaa/views
queue 4fcef92b94
elasticsearch 7.x compatability (#576)
* 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

* es_mapping: remove _all field

deprecated in 6.0 anyway

* es_mapping.yml: fix deprecated mapping type

https://www.elastic.co/guide/en/elasticsearch/reference/6.7/removal-of-types.html#_schedule_for_removal_of_mapping_types

it gives a really unhelpful error otherwise, oof.

* es: fix remaining 7.xisms

the enabled: false apparently only applies to
"object" fields now, need index: false

and the _type got removed everywhere. Seems to work now.

* Fix weird offset error with word_delimiter_graph

yet another es7-ism i guess

* Fix warning and some app stuff for ES 7.x

Co-authored-by: Arylide <Arylide@users.noreply.github.com>
2020-07-12 00:10:47 -07:00
..
__init__.py Move to Python 3.7 and update dependencies (#551) 2019-08-10 18:39:53 -07:00
account.py Add login endpoint rate limiting 2020-06-23 00:49:26 +02:00
admin.py Add trusted application functionality (#533) 2019-08-10 18:18:44 -07:00
main.py elasticsearch 7.x compatability (#576) 2020-07-12 00:10:47 -07:00
site.py Add trusted application functionality (#533) 2019-08-10 18:18:44 -07:00
torrents.py Further cleanup 2019-04-08 19:18:11 +02:00
users.py nuke comments (#577) 2019-08-13 13:15:16 -07:00