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

Use autoSoftCommit with the default configSet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 9.4
    • None
    • None

    Description

      The default autoCommit/autoSoftCommit settings that ship with Solr's default configSet are listed as such:

       
      <autoCommit>
        <maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
        <openSearcher>false</openSearcher>
      </autoCommit>

      <autoSoftCommit>
        <maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime>
      </autoSoftCommit>
       
      With "openSearcher" set to false on the autoCommit, and no autoSoftCommit being used, there is little guarantee as to when users can expect to see their documents returned from Solr.
       
      We should use a pretty NRT-ish number for the default autoSoftCommit, like 3000.

      Attachments

        Issue Links

          Activity

            People

              houston Houston Putman
              houston Houston Putman
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m