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

LRUQueryCache.onDocIdSetEviction should not be called when nothing is evicted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.1, 5.5, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This method is confusing because it states it will be called "when one or more DocIdSets are removed from this cache" but may actually be called with zero docidsets when evicting a per-segment cache that did not contain any entries.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: