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

set a commit time bounds in the <add> command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4
    • update
    • None

    Description

      Currently there are two options for how to handle commiting documents:
      1. the client explicitly starts the commit via <commit/>
      2. set an auto commit value on the server – clients can assume all documents will be commited within that time.

      However, this does not help in the case where the clients know what documents need updating quickly and others that could wait. I suggest adding:

       <add commitWithin="100">...
      

      to the update syntax so the client can schedule commits explicitly.

      Attachments

        1. SOLR-793-commitWithin.patch
          8 kB
          Ryan McKinley
        2. SOLR-793-commitWithin.patch
          8 kB
          Ryan McKinley
        3. SOLR-793-deadlock.patch
          1 kB
          Ryan McKinley

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ryantxu Ryan McKinley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: