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

Paul Elschot edited comment on LUCENE-6083 at 4/7/15 6:28 PM:
--------------------------------------------------------------

Patch of 6 April 2015. Compared to the previous patch this:

- moves the toMatchDoc() method from ContainSpans to ConjunctionSpans, and 
removes the recursion with nextDoc(),
- moves boost setting to SpanContainQuery class only (prepare a little for 
query immutability),
- improves the constructor of ContainSpans to have a sourceSpans argument 
instead of a flag indicating which of the two spans to use for start/end 
positions and payloads,
- uses FilterSpans from LUCENE-6393.


was (Author: [email protected]):
Patch of 6 April 2015. Compared to the previous patch this:

- moves the matchDoc() method from ContainSpans to ConjunctionSpans, and 
removes the recursion with nextDoc(),
- moves boost setting to SpanContainQuery class only (prepare a little for 
query immutability),
- improves the constructor of ContainSpans to have a sourceSpans argument 
instead of a flag indicating which of the two spans to use for start/end 
positions and payloads,
- uses FilterSpans from LUCENE-6393.

> 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, 
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to