testPhraseQuery in TestSpanRewriter fails?
Closed this issue · 2 comments
dcollins53 commented
After the latest commit 0ae0107, the test case for testPhraseQuery in TestSpanRewriter fails. It is expecting a SpanNearQuery, but it gets a SpanOffsetReportingQuery as per that latest update.
Is there any scenario whereby we can still return a SpanNearQuery?
romseygeek commented
Hm, I ought to be getting notifications from travis when I break the build.
We always need to return SpanOffsetReportingQuery from the rewriter, so the test needs to be changed to reflect that. Although maybe we can wrap the top-level SpanQueries elsewhere?
romseygeek commented
Fixed by 462d67f