public static class ValuesSource.Bytes.Script extends ValuesSource.Bytes
ValuesSource.Bytes.FieldData, ValuesSource.Bytes.ParentChild, ValuesSource.Bytes.Script, ValuesSource.Bytes.WithOrdinalsValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.WithScriptEMPTY| Constructor and Description |
|---|
Script(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.
|
docsWithValuepublic Script(SearchScript script)
public SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
ValuesSourceValuesSource.WithScript.BytesValues.bytesValues in class ValuesSourcejava.io.IOExceptionpublic boolean needsScores()
ValuesSourceneedsScores in class ValuesSource