public static class ValuesSource.WithScript extends ValuesSource.Bytes
ValuesSource.Bytes.FieldData, ValuesSource.Bytes.Script, ValuesSource.Bytes.WithOrdinals
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.WithScript
Constructor and Description |
---|
WithScript(ValuesSource delegate,
SearchScript script) |
Modifier and Type | Method and Description |
---|---|
SortedBinaryDocValues |
bytesValues(org.apache.lucene.index.LeafReaderContext context)
Get the current
ValuesSource.WithScript.BytesValues . |
boolean |
needsScores()
Whether this values source needs scores.
|
docsWithValue
public WithScript(ValuesSource delegate, SearchScript script)
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