You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michel Conrad (JIRA)" <ji...@apache.org> on 2013/01/18 09:44:15 UTC

[jira] [Created] (LUCENE-4696) Allow SpanNearQuery to take a BooleanQuery.

Michel Conrad created LUCENE-4696:
-------------------------------------

             Summary: Allow SpanNearQuery to take a BooleanQuery.
                 Key: LUCENE-4696
                 URL: https://issues.apache.org/jira/browse/LUCENE-4696
             Project: Lucene - Core
          Issue Type: New Feature
          Components: core/search
    Affects Versions: 4.0
            Reporter: Michel Conrad


Currently SpanNearQuery can only take other SpanQuery objects, which include spans, span term and span wrapped multi-term queries, but not Boolean queries.

By allowing a Boolean query to added to a SpanNearQuery, we can add f.i. queries
that come from a QueryParser and which can not be easily transformed in the corresponding span objects.

The main use case here is to find the intersection between two sets of results with the additional restriction that the matched terms from the different queries should be near one another.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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