[
https://issues.apache.org/jira/browse/LUCENE-6308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Elschot updated LUCENE-6308:
---------------------------------
Attachment: LUCENE-6308.patch
Patch of 19 March 2015, passes all tests.
There is a lot of almost duplicated code, especially in the new tests for
SpansEnum. However, this was worthwhile, because these tests caught a few
subtle bugs.
This uses ConjunctionDISI for SpansEnum near queries, so two phase should be
doable.
Renamed TestBasics to TestSpanBasics for easier testing.
Also deprecates MultiSpansWrapper in favour of TestSpans.getSpansEnumForQuery
which has a smaller implementation.
> SpansEnum, deprecate Spans
> --------------------------
>
> Key: LUCENE-6308
> URL: https://issues.apache.org/jira/browse/LUCENE-6308
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/search
> Reporter: Paul Elschot
> Priority: Minor
> Attachments: LUCENE-6308.patch, LUCENE-6308.patch, LUCENE-6308.patch,
> LUCENE-6308.patch
>
>
> An alternative for Spans that looks more like PositionsEnum.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]