Fix NPE in ScoreAugmentQuery (when inner scorer is null)

Description

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.

Environment

None

Status

Assignee

Matt Wheeler

Reporter

Matt Wheeler

Labels

None

Affects versions

Priority

Minor
Configure