You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2008/01/08 18:24:45 UTC
[Solr Wiki] Update of "UpdateXmlMessages" by BrianWhitman
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 BrianWhitman:
http://wiki.apache.org/solr/UpdateXmlMessages
The comment on the change is:
removing / in curl syntax
------------------------------------------------------------------------------
You can use curl to send any of the above commands. For example:
{{{
- curl http://<hostname>:<port>/update -H "Content-Type: text/xml" --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>'
}}}