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

Auto-commit documents after time interval

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: update
    • Labels:
      None

      Description

      If an index is getting updated from multiple sources and needs to add documents reasonably quickly, there should be a good solr side mechanism to help prevent the client from spawning multiple overlapping <commit/> commands.

      My specific use case is sending each document to solr every time hibernate saves an object (see SOLR-20). This happens from multiple machines simultaneously. I'd like solr to make sure the documents are committed within a second.

        Attachments

        1. AutoCommit.patch
          14 kB
          Ryan McKinley
        2. AutocommitingUpdateRequestHandler.patch
          14 kB
          Ryan McKinley
        3. SOLR-126-ClosePending.patch
          0.6 kB
          Ryan McKinley

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: