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 2009/07/19 22:37:46 UTC

[Solr Wiki] Update of "SolrQuerySyntax" by ErikHatcher

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by ErikHatcher:
http://wiki.apache.org/solr/SolrQuerySyntax

The comment on the change is:
Added a bit about the raw query parser,etc

------------------------------------------------------------------------------
     * {{{createdate:[1976-03-06T23:59:59.999Z TO 1976-03-06T23:59:59.999Z+1YEAR]}}}
     * {{{createdate:[1976-03-06T23:59:59.999Z/YEAR TO 1976-03-06T23:59:59.999Z]}}}
  
+ = Dismax Query Parser =
+ The dismax query parser provides query time field level boosting granularity, with less special syntax.  Dismax generally makes the best first choice query parser for user facing Solr applications.  The dismax handler parameters are described in detail here: DisMaxRequestHandler.
+ 
+ = Other built-in useful query parsers =
+ 
+   * boost
+   * field
+   * frange
+   * func
+   * prefix
+   * raw - useful for avoiding query parser escaping madness when drilling into facets via fq parameters.  {{{ &fq={!raw f=field_name}crazy+\"field+value }}}
+   * query - nested query parsing
+ 
  [[Anchor(urlescaping)]]
  = NOTE: URL Escaping Special Characters =
  
@@ -60, +73 @@

     http://localhost:8983/solr/select?q=%2Bpopularity:[10%20TO%20*]%20%2Bsection:0
  }}}
  
+ = For more information =
+ 
+   * See Yonik Seely's blog on [http://www.lucidimagination.com/blog/2009/03/31/nested-queries-in-solr/ Nested Queries in Solr]
+