[ 
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-fix-tests.patch

Patch which fixes the commitWithin tests for Extracting and CSV handlers. The 
problem was that the test timed out on slow servers. We now only test that 
commiWtihin is set on AddUpdateCommand instead of actually indexing a document.

This patch must be applied AFTER SOLR-2540.patch

> 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-fix-tests.patch, 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to