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

Indexer batched unindexing #594

Open
Enet4 opened this issue Jul 14, 2022 · 1 comment · May be fixed by #598
Open

Indexer batched unindexing #594

Enet4 opened this issue Jul 14, 2022 · 1 comment · May be fixed by #598
Labels

Comments

@Enet4
Copy link
Collaborator

Enet4 commented Jul 14, 2022

The current definition for unindex can take a single URI. As most implementations of this imply one index write for each removal, this constitutes a performance bottleneck.

If an overload was provided for unindexing a list of items, implementations could more easily attain better performance by writing all changes to the index in a batch, rather than flushing each operation one by one.

public ? unindex(List<URI> path) throws ?;
@Enet4 Enet4 added the sdk label Jul 14, 2022
@bastiao
Copy link
Member

bastiao commented Jul 14, 2022

It is a nice idea coming from a real user story. :) Definitely, we should go for it.

@Enet4 Enet4 linked a pull request Jul 21, 2022 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants