This PR proposes a small change a co-worker found. We can avoid creating a leaf collectors for a leaf that matches no terms, which we can tell if the scorer for it is null. One test was relying on the exact sequence of collectors, enforcing that every one was created with no gaps in their sequence, so this PR also cleans up that test, making the same assertions without the need for that assumption.
-Mike Sokolov On Mon, Feb 4, 2019 at 8:12 AM GitBox <[email protected]> wrote: > msokolov opened a new pull request #562: Don't create a LeafCollector when > the Scorer for the leaf is null > URL: https://github.com/apache/lucene-solr/pull/562 > > > > > ---------------------------------------------------------------- > This is an automated message from the Apache Git Service. > To respond to the message, please log on GitHub and use the > URL above to go to the specific comment. > > For queries about this service, please contact Infrastructure at: > [email protected] > > > With regards, > Apache Git Services > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
