Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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.

        Activity

        Hide
        Adrien Grand added a comment -

        Here is a patch. It requires a minimum top-level index size of 10000 docs by default. This should help ensure we do not create unnecessary cache entries on small indices which don't really need caching anyway.

        Show
        Adrien Grand added a comment - Here is a patch. It requires a minimum top-level index size of 10000 docs by default. This should help ensure we do not create unnecessary cache entries on small indices which don't really need caching anyway.
        Hide
        Robert Muir added a comment -

        +1

        Show
        Robert Muir added a comment - +1
        Hide
        ASF subversion and git services added a comment -

        Commit 1676608 from Adrien Grand in branch 'dev/trunk'
        [ https://svn.apache.org/r1676608 ]

        LUCENE-6455: Require a minimum index size to enable query caching.

        Show
        ASF subversion and git services added a comment - Commit 1676608 from Adrien Grand in branch 'dev/trunk' [ https://svn.apache.org/r1676608 ] LUCENE-6455 : Require a minimum index size to enable query caching.
        Hide
        ASF subversion and git services added a comment -

        Commit 1676610 from Adrien Grand in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1676610 ]

        LUCENE-6455: Require a minimum index size to enable query caching.

        Show
        ASF subversion and git services added a comment - Commit 1676610 from Adrien Grand in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1676610 ] LUCENE-6455 : Require a minimum index size to enable query caching.
        Hide
        Anshum Gupta added a comment -

        Bulk close for 5.2.0.

        Show
        Anshum Gupta added a comment - Bulk close for 5.2.0.

          People

          • Assignee:
            Adrien Grand
            Reporter:
            Adrien Grand
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development