Alan Woodward created LUCENE-8042: ------------------------------------- Summary: Add SegmentCachable interface Key: LUCENE-8042 URL: https://issues.apache.org/jira/browse/LUCENE-8042 Project: Lucene - Core Issue Type: New Feature Reporter: Alan Woodward
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. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org