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"` — default is "false" + * `overwrite = "true" | "false"` — 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"` — default is "false" * (deprecated) `overwritePending = "true" | "false"` — default is negation of allowDups * (deprecated) `overwriteCommitted = "true"|"false"` — 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>` — default is 1.0 (See Lucene docs for definition of boost.)
