[ 
https://issues.apache.org/jira/browse/SOLR-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016527#comment-13016527
 ] 

Jan Høydahl commented on SOLR-2458:
-----------------------------------

It might not be a bug according to the original design intentions. But the 
first thing we tell users is to try out post.jar to post stuff, and now we've 
even included csv and json examples for it. Then it's unnecessary to get the 
error "Solr returned an error #400 undefined field <commit/>" thrown in your 
face - the error does not even explain the problem.

I'll try to assemble a first patch for this next week some time, adding a 
separate POST with ?commit=true after the last file is POSTed.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to