lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-839) XML Query Parser support (deftype=xmlparser)
Date Wed, 17 Feb 2016 15:45:18 GMT

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

Christine Poerschke commented on SOLR-839:
------------------------------------------

Noticed when drafting the Solr Reference Guide's [XML Query Parser|https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-XMLQueryParser]
sub-section.

> XML Query Parser support (deftype=xmlparser)
> --------------------------------------------
>
>                 Key: SOLR-839
>                 URL: https://issues.apache.org/jira/browse/SOLR-839
>             Project: Solr
>          Issue Type: New Feature
>          Components: query parsers
>    Affects Versions: 1.3, 5.4, master
>            Reporter: Erik Hatcher
>            Assignee: Christine Poerschke
>            Priority: Minor
>             Fix For: 5.5, master
>
>         Attachments: SOLR-839-object-parser.patch, SOLR-839.patch, SOLR-839.patch, SOLR-839.patch,
lucene-xml-query-parser-2.4-dev.jar
>
>
> 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}}):
> {code}
> <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>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message