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

SENSEI-326 Fix NPE in ScoreAugmentQuery (when inner scorer is null) #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ghost
Copy link

@ghost ghost commented Jan 28, 2014

This appears to be a new bug in Sensei (since 1.6).
In Lucene 4, the scorer method on Weight may return null if the scorer will not match any docs. Thus, a new AugmentScorer should never be created if the inner scorer is null.

https://senseidb.atlassian.net/browse/SENSEI-326

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

Successfully merging this pull request may close these issues.

0 participants