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

Add SegmentCachable interface

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.2
    • None
    • None
    • New

    Description

      Following LUCENE-8017, I tried to add a getCacheHelper(LeafReaderContext) method to DoubleValuesSource so that Weights that use DVS can delegate on. This ended up with the same method being added to LongValuesSource, and some of the similar objects in spatial-extras. I think it makes sense to abstract this out into a separate SegmentCachable interface.

      Attachments

        1. LUCENE-8042.patch
          52 kB
          Alan Woodward
        2. LUCENE-8042.patch
          113 kB
          Alan Woodward
        3. LUCENE-8042.patch
          117 kB
          Alan Woodward
        4. LUCENE-8042.patch
          113 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: