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

FieldCacheSanityChecker called directly by FieldCache.get*

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • core/search
    • None
    • New

    Description

      As suggested by McCandless in LUCENE-1749, we can make FieldCacheImpl a client of the FieldCacheSanityChecker and have it sanity check itself each time it creates a new cache entry, and log a warning if it thinks there is a problem. (although we'd probably only want to do this if the caller has set some sort of infoStream/warningStream type property on the FieldCache object.

      Attachments

        1. LUCENE-1798.patch
          5 kB
          Michael McCandless
        2. LUCENE-1798.patch
          7 kB
          Michael McCandless

        Issue Links

          Activity

            People

              mikemccand Michael McCandless
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: