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 YonikSeeley
Date Wed, 28 Oct 2009 22:35:55 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 YonikSeeley.
The comment on this change is: allowDups is also deprecated... use "overwrite".
http://wiki.apache.org/solr/UpdateXmlMessages?action=diff&rev1=21&rev2=22

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

  Note: multiple documents may be specified in a single `<add>` command.
  
  ==== Optional attributes for "add" ====
-    * `allowDups = "true" | "false"` &#8212; default is "false"
+    * `overwrite = "true" | "false"` &#8212; default is "true", meaning newer documents
will replace previously added documents with the same uniqueKey.
     * `commitWithin = "(milliseconds)"` if the "commitWithin" attribute is present, the document
will be added within that time. <!> [[Solr1.4]]
+ 
+    * (deprecated) `allowDups = "true" | "false"` &#8212; default is "false"
     * (deprecated) `overwritePending = "true" | "false"` &#8212; default is negation
of allowDups 
     * (deprecated) `overwriteCommitted = "true"|"false"` &#8212; default is negation
of allowDups 
-  
- The defaults for overwritePending and overwriteCommitted are linked to allowDups such that
those defaults make more sense:
-    * If allowDups is '''false''' (overwrite any duplicates), it implies that overwritePending
and overwriteCommitted are '''true''' by default.
-    * If allowDups is '''true''' (allow addition of duplicates), it implies that overwritePending
and overwriteCommitted are '''false''' by default.
   
  ==== Optional attributes on "doc" ====
     * `boost = <float>`  &#8212; default is 1.0 (See Lucene docs for definition
of boost.)

Mime
View raw message