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 10:17:06 GMT


Jan Høydahl commented on SOLR-2458:

How would post.jar know the URL of the XmlUpdateRequestHandler?
A) We could assume .*/solr/update as 99% would not modify the defaults?
B) Assume that all UpdateRequestHandlers support a GET parameter commit=true
In that case, we could append "?commit=true" to the given URL.
I know for a fact that "/solr/update/csv?commit=true" will work

> 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