Tim Allison created LUCENE-5205: ----------------------------------- Summary: SpanQueryParser with recursion, analysis and syntax very similar to classic QueryParser Key: LUCENE-5205 URL: https://issues.apache.org/jira/browse/LUCENE-5205 Project: Lucene - Core Issue Type: Improvement Components: core/queryparser Reporter: Tim Allison Fix For: 4.5
This parser includes functionality from: *Classic QueryParser: most of its syntax *SurroundQueryParser: recursive parsing for "near" and "not" clauses. *ComplexPhraseQueryParser: can handle "near" queries that include multiterms (wildcard, fuzzy, regex, prefix), *AnalyzingQueryParser: has an option to analyze multiterms. In combination with a QueryFilter, has been very useful for concordance tasks and for analytical search. SpanQueries, of course, can also be used as a Query for regular search via IndexSearcher. Until Lucene-2878 is closed, this might have a use for fans of SpanQuery. Most of the documentation is in the javadoc for SpanQueryParser. I'm happy to throw this in the Sandbox, if desired. Any and all feedback is welcome. Thank you. -- 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