Solr
  1. Solr
  2. SOLR-2540

CommitWithin as an Update Request parameter

    Details

      Description

      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:

        curl http://localhost:8983/solr/update/extract?literal.id=123&commitWithin=10000
             -H "Content-Type: application/pdf" --data-binary @file.pdf
      

      PS: The JsonUpdateRequestHandler and BinaryUpdateRequestHandler already support this syntax.

      1. SOLR-2540.patch
        13 kB
        Jan Høydahl
      2. SOLR-2540.patch
        6 kB
        Jan Høydahl
      3. SOLR-2540-branch_3x-fix-tests.patch
        11 kB
        Jan Høydahl
      4. SOLR-2540-fix-tests.patch
        11 kB
        Jan Høydahl

        Issue Links

          Activity

          Gavin made changes -
          Link This issue is depended upon by CONNECTORS-202 [ CONNECTORS-202 ]
          Gavin made changes -
          Link This issue blocks CONNECTORS-202 [ CONNECTORS-202 ]
          Jan Høydahl made changes -
          Link This issue is required by SOLR-2771 [ SOLR-2771 ]
          Robert Muir made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jan Høydahl made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jan Høydahl made changes -
          Attachment SOLR-2540-branch_3x-fix-tests.patch [ 12494629 ]
          Jan Høydahl made changes -
          Attachment SOLR-2540-fix-tests.patch [ 12494624 ]
          Hoss Man made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Jan Høydahl made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jan Høydahl made changes -
          Fix Version/s 3.4 [ 12316683 ]
          Fix Version/s 4.0 [ 12314992 ]
          Affects Version/s 3.1 [ 12314371 ]
          Jan Høydahl made changes -
          Attachment SOLR-2540.patch [ 12493016 ]
          Jan Høydahl made changes -
          Assignee Jan Høydahl [ janhoy ]
          Jan Høydahl made changes -
          Link This issue blocks CONNECTORS-202 [ CONNECTORS-202 ]
          Jan Høydahl made changes -
          Field Original Value New Value
          Attachment SOLR-2540.patch [ 12480275 ]
          Jan Høydahl created issue -

            People

            • Assignee:
              Jan Høydahl
              Reporter:
              Jan Høydahl
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development