loopbackio / loopback-connector-elastic-search

Strongloop Loopback connector for Elasticsearch
MIT License
78 stars 56 forks source link

Feature/aquid/update all #83

Closed aquid closed 7 years ago

aquid commented 7 years ago

To run updateAll these parameters should be enabled in elasticsearch config

UpdateAll happens using updateByQuery API of elasticsearch.

cc @pulkitsinghal

pulkitsinghal commented 7 years ago

@aquid - Well done!

It might make sense to update the README.md file with such information:

To run updateAll these parameters should be enabled in elasticsearch config

-> script.inline: true
-> script.indexed: true
-> script.engine.groovy.inline.search: on
-> script.engine.groovy.inline.update: on
UpdateAll happens using updateByQuery API of elasticsearch.
aquid commented 7 years ago

@pulkitsinghal Already done that. Checkout the second last point of release notes, although it has some layout issues.

Also added this section here https://github.com/strongloop-community/loopback-connector-elastic-search#how-to-achieve-instant-search