[
https://issues.apache.org/jira/browse/SOLR-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl updated SOLR-2458:
------------------------------
Attachment: SOLR-2458.patch
The solution was simple. Change the commit() method to do ?commit=true instead
of posting as "<commit/>"
Also cleaned up dead meat, added a -Doptimize=yes option and accepts -h and
--help in addition to -help
> post.jar fails on non-XML updateHandlers
> ----------------------------------------
>
> Key: SOLR-2458
> URL: https://issues.apache.org/jira/browse/SOLR-2458
> Project: Solr
> Issue Type: Bug
> Components: clients - java
> Affects Versions: 3.1
> Reporter: Jan Høydahl
> Labels: post.jar
> Attachments: SOLR-2458.patch
>
>
> SimplePostTool.java by default tries to issue a commit after posting.
> Problem is that it does this by appending "<commit/>" to the stream.
> This does not work when using non-XML requesthandler, such as CSV.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]