Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SolrIndex - improve flush method #591

Open
rsoika opened this issue Oct 17, 2019 · 0 comments
Open

SolrIndex - improve flush method #591

rsoika opened this issue Oct 17, 2019 · 0 comments

Comments

@rsoika
Copy link
Member

rsoika commented Oct 17, 2019

currently the method flushEventLogByCount reads the eventLog entries sequencly and update or delete each document in a single Rest API call.
We can improve the performance if we collect all updates and deletions and call the solr rest api only twice - one for update and one for deletion.

Therefor we need to collect a distinct list for deletion and updates.

This is currently implemented in the imixs-microprofile servcie 'IndexService' - we can take the logic form there....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant