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 2009/02/08 12:09:53 UTC

[Solr Wiki] Update of "UpdateXmlMessages" by KojiSekiguchi

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

------------------------------------------------------------------------------
  
  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.
+ 
+ Example:
+    {{{
+ <delete>
+   <id>05991</id><id>06000</id>
+   <query>office:Bridgewater</query>
+   <query>office:Osaka</query>
+ </delete>
+ }}}
+ 
+ 
  ==== Optional attributes for "delete" ====
  
     * (deprecated) `fromPending = "true" | "false"`  &#8212; default is "true"