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 HossMan:
http://wiki.apache.org/solr/SolrQuerySyntax

The comment on the change is:
comments about query strings in URLs

------------------------------------------------------------------------------
+ = Solr Query Syntax =
+ 
  The standard Solr Query Parser syntax is a superset of the 
[http://lucene.apache.org/java/docs/queryparsersyntax.html Lucene Query Parser 
syntax].
+ 
+ == Differences From Lucene Query Parser ==
  
  Differences in the Solr Query Parser include
   * Range queries {{{[a TO z]}}} and prefix queries {{{a*}}} are 
constant-scoring (all matching documents get an equal score).  The scoring 
factors tf, idf, index boost, and coord are not used.  There is no limitation 
on the number of terms that match (as there was in past versions of Lucene).
@@ -25, +29 @@

     * {{{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]}}}
  
+ [[Anchor(urlescaping)]]
+ == URL Escaping Special Characters ==
+ 
+ Please note that many characters in the Solr Query Syntax (most notable the 
plus sign: "`+`") are special characters in URLs, so when constructing Solr 
requests you must properly escape these characters (even if your 
browser/servlet container let you get away with not escaping other characters 
(like square brackets: "`[`" and "`]`")...
+ {{{
+                                      q=  +popularity:[10   TO   *]     
+section:0
+    
http://localhost:8983/solr/select?q=%2Bpopularity:[10%20TO%20*]%20%2Bsection:0
+ }}}
+  
+ 

Reply via email to