Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6455

Do not cache queries on small indices

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.2, 6.0
    • None
    • None
    • New

    Description

      The query cache currently only caches on segments that are more than 3% of the total index size currently. Another good condition could be to require a minimum index size so that we don't end up caching on things like MemoryIndex.

      Attachments

        1. LUCENE-6455.patch
          5 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: