Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2540

CommitWithin as an Update Request parameter

    XMLWordPrintableJSON

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.

      Attachments

        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

            People

              janhoy Jan Høydahl
              janhoy Jan Høydahl
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: