instedd / resourcemap

http://resourcemap.instedd.org/
GNU General Public License v3.0
14 stars 7 forks source link

Fix: compatibility with elasticsearch 2 #916

Closed ysbaddaden closed 11 months ago

ysbaddaden commented 11 months ago

Fixes a number of deprecated features in elasticsearch 1 that got removed in elasticsearch 2:

These changes are compatible with elasticsearch v1.7 and v2.4 and the elasticsearch migration plugin returns a full green status.

To test against elasticsearch 2, you must tweak the docker compose service. For some reason the index.max_result_window setting must be increased from the default of 10000. For example:

services:
  elasticsearch:
    image: elasticsearch:2.4-alpine
    command: elasticsearch -Dindex.max_result_window=1000000
ysbaddaden commented 11 months ago

Hum, it's not ready, I have a few issues after upgrading to elasticsearch 2. No issues no more.