lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrQuerySyntax" by HossMan
Date Sun, 30 May 2010 05:26:08 GMT
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 HossMan.
The comment on this change is: clarify defType: it's not hte only way to change the main query
parsing, but it *only* affects the main query.
http://wiki.apache.org/solr/SolrQuerySyntax?action=diff&rev1=22&rev2=23

--------------------------------------------------

  For example, the following query string specifies a lucene/solr query with a default operator
of "AND" and a default field of "text":
  {{{q={!lucene q.op=AND df=text}myfield:foo +bar -baz}}}
  
- In standard Solr search handlers, the default type of the main query only may be specified
via the {{{defType}}} parameter.  The default type of all other query parameters will remain
"[[#lucene|lucene]]".
+ In standard Solr search handlers, the {{{defType}}} param can be used to specify the default
type of the main query (ie: the {{{q}}} param) but it ''only'' affects the main query -- The
default type of all other query parameters will remain "[[#lucene|lucene]]".
  
  {{{q={!func}popularity}}}
  is thus equivalent to

Mime
View raw message