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

The query cache should not cache trivial queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.4
    • None
    • None
    • New

    Description

      The query cache already avoids caching term queries because they are cheap, but it doesn't do it with even cheaper queries like MatchAllDocsQuery.

      Attachments

        1. LUCENE-6748.patch
          2 kB
          Adrien Grand
        2. LUCENE-6748.patch
          1.0 kB
          Adrien Grand

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: