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