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

Auto-commit documents after time interval

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2
    • update
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: