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 YonikSeeley: http://wiki.apache.org/solr/CollectionBuilding ------------------------------------------------------------------------------ ==== Optional attributes for "add" ==== * `allowDups = "true" | "false"` — default is "false" - * `overwritePending = "true" | "false"` — default is allowDups + * `overwritePending = "true" | "false"` — default is negation of allowDups - * `overwriteCommitted = "true"|"false"` — default is allowDups + * `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 = floating_point_value` — default is 1.0 (See Lucene docs for definition of boost.) + * `boost = <float>` — default is 1.0 (See Lucene docs for definition of boost.) ==== Optional attributes for "field" ==== - * `boost = floating_point_value` — default is 1.0 (See Lucene docs for definition of boost.) + * `boost = <float>` — default is 1.0 (See Lucene docs for definition of boost.) Example of "add" with optional attributes:
