[
https://issues.apache.org/jira/browse/SOLR-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016314#comment-13016314
]
Jan Høydahl commented on SOLR-2458:
-----------------------------------
Example:
{code}
lap:exampledocs janhoy$ java -Durl=http://localhost:8983/solr/update/csv -jar
post.jar books.csv
SimplePostTool: version 1.3
SimplePostTool: POSTing files to http://localhost:8983/solr/update/csv..
SimplePostTool: POSTing file books.csv
SimplePostTool: COMMITting Solr index changes..
SimplePostTool: FATAL: Solr returned an error #400 undefined field <commit/>
{code}
The commit should be sent in a different way, problem is how to know where and
how to send the commit in case of non-standard URLs, such as
http://localhost:8983/solr/my/custom/updatehandler
> 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
>
> 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]