[
https://issues.apache.org/jira/browse/LUCENE-6308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14368124#comment-14368124
]
Paul Elschot edited comment on LUCENE-6308 at 3/18/15 11:29 PM:
----------------------------------------------------------------
Patch of 19 March 2015, passes all tests.
There is a lot of almost duplicated code, especially the new tests for
SpansEnum that were basically copied and converted from the Spans tests.
However, this was worthwhile, because these tests caught a few subtle bugs in
the SpansEnum implementations.
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.
was (Author: [email protected]):
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]