You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2015/04/08 18:58:12 UTC

[jira] [Comment Edited] (LUCENE-6394) Add two-phase support to SpanNotQuery

    [ https://issues.apache.org/jira/browse/LUCENE-6394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14485509#comment-14485509 ] 

Paul Elschot edited comment on LUCENE-6394 at 4/8/15 4:57 PM:
--------------------------------------------------------------

This nicely allows to share code between SpanPositionCheck and SpanNot, leaving the SpanNot here simpler than the one I put at LUCENE-6373, so I'd rather have this one.



was (Author: paul.elschot@xs4all.nl):
This nicely allows to share code between SpanPositionCheck and SpanNot, leaving the SpanNot here simpler than the one I put at LUCENE-6373, so I'd rather have this one.

Minor point: the patch has some unused imports for AcceptStatus.

> Add two-phase support to SpanNotQuery
> -------------------------------------
>
>                 Key: LUCENE-6394
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6394
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-6394.patch, LUCENE-6394.patch, LUCENE-6394.patch
>
>
> This query is actually a lot like SpanPositionCheckQuery, except it checks that each inclusion Spans does not come near the exclusion side.
> Two-phase iteration should just work the inclusion side, deferring positions (the overlap checking against exclusion) until necessary.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org