dicoogle icon indicating copy to clipboard operation
dicoogle copied to clipboard

Indexer batched unindexing

Open Enet4 opened this issue 3 years ago • 1 comments

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 avatar Jul 14 '22 11:07 Enet4

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

bastiao avatar Jul 14 '22 22:07 bastiao