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/09/06 18:30:10 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-2540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl resolved SOLR-2540.
-------------------------------

    Resolution: Fixed

> 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
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: commit, commitWithin
>             Fix For: 3.4, 4.0
>
>         Attachments: SOLR-2540.patch, 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