public static class ValuesSource.Numeric.WithScript extends ValuesSource.Numeric
ValuesSource.Numeric.FieldData, ValuesSource.Numeric.Script, ValuesSource.Numeric.WithScriptValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.NumericEMPTY| Constructor and Description |
|---|
ValuesSource.Numeric.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.
|
docsWithValuepublic ValuesSource.Numeric.WithScript(ValuesSource.Numeric delegate, SearchScript script)
public boolean isFloatingPoint()
ValuesSource.NumericisFloatingPoint in class ValuesSource.Numericpublic boolean needsScores()
ValuesSourceneedsScores in class ValuesSourcepublic SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws IOException
ValuesSourceValuesSource.WithScript.BytesValues.bytesValues in class ValuesSourceIOExceptionpublic org.apache.lucene.index.SortedNumericDocValues longValues(org.apache.lucene.index.LeafReaderContext context)
throws IOException
ValuesSource.NumericSortedNumericDocValues.longValues in class ValuesSource.NumericIOExceptionpublic SortedNumericDoubleValues doubleValues(org.apache.lucene.index.LeafReaderContext context) throws IOException
ValuesSource.NumericSortedNumericDoubleValues.doubleValues in class ValuesSource.NumericIOExceptionCopyright © 2009–2017. All rights reserved.