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

Paul Elschot commented on LUCENE-6083:
--------------------------------------

 bq. not really any logic is left in NearSpans after the patch. Maybe we should 
remove the abstraction and just store slop/query in Ordered/UnOrdered?

In case that improves performance or might reduce future maintenance, then yes.
Otherwise the NearSpans here nicely shows what it is: a conjunction of spans 
for a query with an allowed slop.


> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to