GitHub user s1monw opened a pull request:
https://github.com/apache/lucene-solr/pull/526
LUCENE-8608: Extract utility class to iterate over terms docs
Today we re-implement the same algorithm in various places
when we want to consume all docs for a set/list of terms. This
caused serious slowdowns for instance in the case of applying
updates fixed in LUCENE-8602. This change extracts the common
usage and shares the interation code including logic to reuse
Terms and PostingsEnum instances as much as possble and adds
tests for it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/s1monw/lucene-solr extract_terms_seeker
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/526.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #526
----
commit ed7f8531c0274c36d7cacf1abc4894d27592167c
Author: Simon Willnauer <simonw@...>
Date: 2018-12-07T21:17:26Z
LUCENE-8608: Extract utility class to iterate over terms docs
Today we re-implement the same algorithm in various places
when we want to consume all docs for a set/list of terms. This
caused serious slowdowns for instance in the case of applying
updates fixed in LUCENE-8602. This change extracts the common
usage and shares the interation code including logic to reuse
Terms and PostingsEnum instances as much as possble and adds
tests for it.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]