lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Updated] (SOLR-2540) CommitWithin as an Update Request parameter
Date Mon, 05 Sep 2011 10:16:10 GMT

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

Jan Høydahl updated SOLR-2540:
------------------------------

    Attachment: SOLR-2540.patch

Updated patch with more tests. Will commit in a day or two

> 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, 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


Mime
View raw message