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

Add SegmentCachable interface

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          113 kB
          Alan Woodward
        2. LUCENE-8042.patch
          117 kB
          Alan Woodward
        3. LUCENE-8042.patch
          113 kB
          Alan Woodward
        4. LUCENE-8042.patch
          52 kB
          Alan Woodward

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: