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 ngolubev: http://wiki.apache.org/solr/UpdateXmlMessages ------------------------------------------------------------------------------ You can use curl to send any of the above commands. For example: {{{ - curl http://<hostname>:<port>/update --data-binary '/<add allowDups="false" overwriteCommitted="true" overwritePending="true"> + curl http://<hostname>:<port>/update -H "Content-Type: text/xml" --data-binary '/<add allowDups="false" overwriteCommitted="true" overwritePending="true"> <doc boost="2.5"> <field name="employeeId">05991</field> <field name="office" boost="2.0">Bridgewater</field> </doc> </add>' }}} {{{ - curl http://<hostname>:<port>/update --data-binary '<commit waitFlush="false" waitSearcher="false"/>' + curl http://<hostname>:<port>/update -H "Content-Type: text/xml" --data-binary '<commit waitFlush="false" waitSearcher="false"/>' }}} Until a commit has been issued, you will not see any of the data in searches either on the master or the slave. After a commit has been issued, you will see the results on the master, then after a snapshot has been pulled by the slave, you will see it there also.
