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 "UpdateXmlMessages" by ErickErickson
Date Thu, 27 Sep 2012 15:07:46 GMT
Dear Wiki user,

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

The "UpdateXmlMessages" page has been changed by ErickErickson:
http://wiki.apache.org/solr/UpdateXmlMessages?action=diff&rev1=40&rev2=41

  <delete><query>office:Bridgewater</query></delete>
  }}}
  
+ Note: The "delete by query" uses the Lucene query parser by default, so if you're trying
to understand the results of delete by query, you might submit a URL like this: 
+    {{{
+ ?q=stuff nonsense&debugQuery=on
+ 
+ You should see something in the debug output like the following, along with the parsed query.
Examining the parsed query may shed some light on any surprising results.
+ 
+ <str name="QParser">LuceneQParser</str>
+ }}}
+ 
  In Solr 1.2, delete query is ''much'' less efficient than delete by id, because Solr has
to do much of the commit logic each time it receives a delete by query request. In Solr 1.3,
however, most of the overhead will have been removed.
  
  <!> [[Solr1.4]] Both delete by id and delete by query can be specified at the same
time.

Mime
View raw message