public static class ValuesSource.Numeric.WithScript extends ValuesSource.Numeric
ValuesSource.Numeric.FieldData, ValuesSource.Numeric.Script, ValuesSource.Numeric.WithScript
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric
EMPTY
Constructor and Description |
---|
WithScript(ValuesSource.Numeric delegate,
SearchScript script) |
Modifier and Type | Method and Description |
---|---|
SortedBinaryDocValues |
bytesValues(org.apache.lucene.index.LeafReaderContext context)
Get the current
ValuesSource.WithScript.BytesValues . |
SortedNumericDoubleValues |
doubleValues(org.apache.lucene.index.LeafReaderContext context)
Get the current
SortedNumericDoubleValues . |
boolean |
isFloatingPoint()
Whether the underlying data is floating-point or not.
|
org.apache.lucene.index.SortedNumericDocValues |
longValues(org.apache.lucene.index.LeafReaderContext context)
Get the current
SortedNumericDocValues . |
boolean |
needsScores()
Whether this values source needs scores.
|
docsWithValue
public WithScript(ValuesSource.Numeric delegate, SearchScript script)
public boolean isFloatingPoint()
ValuesSource.Numeric
isFloatingPoint
in class ValuesSource.Numeric
public boolean needsScores()
ValuesSource
needsScores
in class ValuesSource
public SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
ValuesSource
ValuesSource.WithScript.BytesValues
.bytesValues
in class ValuesSource
java.io.IOException
public org.apache.lucene.index.SortedNumericDocValues longValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
ValuesSource.Numeric
SortedNumericDocValues
.longValues
in class ValuesSource.Numeric
java.io.IOException
public SortedNumericDoubleValues doubleValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
ValuesSource.Numeric
SortedNumericDoubleValues
.doubleValues
in class ValuesSource.Numeric
java.io.IOException