Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 40903 invoked from network); 19 Jul 2009 20:37:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jul 2009 20:37:10 -0000 Received: (qmail 24223 invoked by uid 500); 19 Jul 2009 20:38:15 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 24149 invoked by uid 500); 19 Jul 2009 20:38:15 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 24138 invoked by uid 99); 19 Jul 2009 20:38:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jul 2009 20:38:15 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jul 2009 20:38:06 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 7F669118AA for ; Sun, 19 Jul 2009 20:37:46 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: solr-commits@lucene.apache.org Date: Sun, 19 Jul 2009 20:37:46 -0000 Message-ID: <20090719203746.14081.35301@eos.apache.org> Subject: [Solr Wiki] Update of "SolrQuerySyntax" by ErikHatcher X-Virus-Checked: Checked by ClamAV on apache.org 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] +