Skip to content

Bulk indexing MongoDB documents are very slow #169

@temi

Description

@temi

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

  • JDK 8
  • ES 7.8

Example Application

No response

Version

4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions