You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2011/08/11 11:06:27 UTC

[jira] [Commented] (SOLR-2540) CommitWithin as an Update Request parameter

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

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

Anyone have comments to this? I'll try to add some tests and prepare for commit.

> CommitWithin as an Update Request parameter
> -------------------------------------------
>
>                 Key: SOLR-2540
>                 URL: https://issues.apache.org/jira/browse/SOLR-2540
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>    Affects Versions: 3.1
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: commit, commitWithin
>         Attachments: SOLR-2540.patch
>
>
> It would be useful to support commitWithin HTTP GET request param on all UpdateRequestHandlers.
> That way, you could set commitWithin on the request (for XML, JSON, CSV, Binary and Extracting handlers) with this syntax:
> {code}
>   curl http://localhost:8983/solr/update/extract?literal.id=123&commitWithin=10000
>        -H "Content-Type: application/pdf" --data-binary @file.pdf
> {code}
> PS: The JsonUpdateRequestHandler and BinaryUpdateRequestHandler already support this syntax.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org