lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Commented] (SOLR-2458) post.jar fails on non-XML updateHandlers
Date Wed, 06 Apr 2011 20:54:05 GMT


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:
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 3.1
>            Reporter: Jan Høydahl
>              Labels: post.jar
> 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message