You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/08/20 16:47:11 UTC
[Solr Wiki] Update of "SolrQuerySyntax" by DavidSmiley
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "SolrQuerySyntax" page has been changed by DavidSmiley:
http://wiki.apache.org/solr/SolrQuerySyntax?action=diff&rev1=26&rev2=27
Comment:
term query parser back-ported to 3.2
* [[http://lucene.apache.org/solr/api/org/apache/solr/search/FieldQParserPlugin.html|field]] - simple field query
* [[http://lucene.apache.org/solr/api/org/apache/solr/search/PrefixQParserPlugin.html|prefix]] - simple prefix query
* [[http://lucene.apache.org/solr/api/org/apache/solr/search/RawQParserPlugin.html|raw]] - create a term query from the input value without any text analysis or transformation whatsoever. This is useful in debugging, or when raw terms are returned from the terms component (this is not the default). also useful for debugging, or for avoiding query parser escaping madness when drilling into facets on text or string fields via fq parameters. Note: use "term" for this in Solr 4.0 or above. Example: {{{ &fq={!raw f=field_name}crazy+\"field+value }}}
- * <!> [[Solr4.0]] [[http://lucene.apache.org/solr/api/org/apache/solr/search/TermQParserPlugin.html|term]] - term query, useful for avoiding query parser escaping madness when drilling into facets via fq parameters. Example: {{{ &fq={!term f=weight}1.5 }}}
+ * <!> [[Solr4.0]] [[Solr3.2]] [[http://lucene.apache.org/solr/api/org/apache/solr/search/TermQParserPlugin.html|term]] - term query, useful for avoiding query parser escaping madness when drilling into facets via fq parameters. Example: {{{ &fq={!term f=weight}1.5 }}}
* [[http://lucene.apache.org/solr/api/org/apache/solr/search/NestedQParserPlugin.html|query]] - nested query parsing
See also SolrPlugins for information on writing your own query parser.