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 Jim Musil: http://wiki.apache.org/solr/UpdateXmlMessages?action=diff&rev1=39&rev2=40 * `boost = <float>` — default is 1.0 (See Lucene docs for definition of boost.) * NOTE: make sure norms are enabled (omitNorms="false" in the schema.xml) for any fields where the index-time boost should be stored. - Example of "add" with optional attributes: + Example of "add" with optional `boost` attribute: {{{ <add> @@ -55, +55 @@ <field name="office" boost="2.0">Bridgewater</field> </doc> </add> + }}} + + * `update = "add" | "set" | "inc"` — for atomic updating and adding of fields <!> [[Solr4.0]] + + Example of "add" with optional `update` attribute: + + {{{ + <add> + <doc> + <field name="employeeId">05991</field> + <field name="office" update="set">Walla Walla</field> + <field name="skills" update="add">Python</field> + </add> }}} === "commit" and "optimize" ===