public class CachingDoubleValueSource extends DoubleValuesSource
SCORES| Constructor and Description |
|---|
CachingDoubleValueSource(DoubleValuesSource source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Explanation |
explain(LeafReaderContext ctx,
int docId,
Explanation scoreExplanation) |
DoubleValues |
getValues(LeafReaderContext readerContext,
DoubleValues scores) |
int |
hashCode() |
boolean |
isCacheable(LeafReaderContext ctx) |
boolean |
needsScores() |
DoubleValuesSource |
rewrite(IndexSearcher searcher) |
String |
toString() |
constant, fromDoubleField, fromField, fromFloatField, fromIntField, fromLongField, fromQuery, fromScorer, getSortField, toLongValuesSourcepublic CachingDoubleValueSource(DoubleValuesSource source)
public String toString()
toString in class DoubleValuesSourcepublic DoubleValues getValues(LeafReaderContext readerContext, DoubleValues scores) throws IOException
getValues in class DoubleValuesSourceIOExceptionpublic boolean needsScores()
needsScores in class DoubleValuesSourcepublic boolean isCacheable(LeafReaderContext ctx)
public Explanation explain(LeafReaderContext ctx, int docId, Explanation scoreExplanation) throws IOException
explain in class DoubleValuesSourceIOExceptionpublic DoubleValuesSource rewrite(IndexSearcher searcher) throws IOException
rewrite in class DoubleValuesSourceIOExceptionpublic boolean equals(Object o)
equals in class DoubleValuesSourcepublic int hashCode()
hashCode in class DoubleValuesSourceCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.