Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.3, 5.4, 6.0
-
None
Description
Lucene includes a query parser that is able to create the full-spectrum of Lucene queries, using an XML data structure.
This patch adds "xml" query parser support to Solr.
Example (from lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/NestedBooleanQuery.xml):
<BooleanQuery fieldName="contents"> <Clause occurs="should"> <BooleanQuery fieldName="contents"> <Clause occurs="must"> <TermQuery>doesNotExistButShouldBeOKBecauseOtherClauseExists</TermQuery> </Clause> </BooleanQuery> </Clause> <Clause occurs="should"> <TermQuery>bank</TermQuery> </Clause> </BooleanQuery>
Attachments
Attachments
Issue Links
- breaks
-
SOLR-8567 SOLR-839 broke the Maven build (trunk, 5.5)
- Closed
- is related to
-
SOLR-12695 Improve XML Query Parser documentation
- Open
-
LUCENE-7034 org.apache.lucene.queryparser.xml javadocs/examples
- Open
- is required by
-
SOLR-9275 make XML Query Parser support extensible-via-configuration
- Closed
-
SOLR-8620 Does the XML Query Parser support parameter substitution?
- Open
- relates to
-
SOLR-9933 support span queries in SolrCoreParser
- Resolved
-
SOLR-9932 add TestSolrCoreParser class
- Resolved