grails / elasticsearch-grails-plugin

The Elasticsearch Grails plugin
https://grails-plugins.github.io/elasticsearch-grails-plugin/
Other
15 stars 23 forks source link

Bulk indexing MongoDB documents are very slow #169

Open temi opened 2 years ago

temi commented 2 years ago

Expected Behavior

Bulk indexing medium sized documents of around 20,000 become very slow. MongoDB pagination command becomes slow towards the page end. It degrades ES plugin performance. This is a know issue in MongoDB.

Actual Behaviour

Indexing should take approximately same time for each bulk index iteration.

Steps To Reproduce

  1. elasticSearchService.index(DomainClass)

Environment Information

Example Application

No response

Version

4