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 2012/09/27 17:07:46 UTC

[Solr Wiki] Update of "UpdateXmlMessages" by ErickErickson

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.