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/03 15:22:53 UTC

[jira] [Updated] (LUCENE-6083) Span containing/contained queries

     [ https://issues.apache.org/jira/browse/LUCENE-6083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Elschot updated LUCENE-6083:
---------------------------------
    Attachment: LUCENE-6083.patch

Patch of 3 April 2015. 
This introduces a package private class ConjunctionSpans as a common superclass for NearSpans and ContainSpans, that also does the basic work for two phase doc id iteration.

The -1 and Integer.MAX_VALUE positions have a special meaning now, so adding offsets would have added some complexity, and I avoided that for now.



> Span containing/contained queries
> ---------------------------------
>
>                 Key: LUCENE-6083
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6083
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: LUCENE-6083.patch, LUCENE-6083.patch, LUCENE-6083.patch
>
>
> SpanContainingQuery reducing a spans to where it is containing another spans.
> SpanContainedQuery reducing a spans to where it is contained in another spans.



--
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