public static class ValuesSource.Bytes.Script extends ValuesSource.Bytes
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.WithScriptValuesSource.Bytes.FieldData, ValuesSource.Bytes.Script, ValuesSource.Bytes.WithOrdinals| Constructor | Description |
|---|---|
Script(SearchScript.LeafFactory script) |
| Modifier and Type | Method | Description |
|---|---|---|
SortedBinaryDocValues |
bytesValues(org.apache.lucene.index.LeafReaderContext context) |
Get the current
ValuesSource.WithScript.BytesValues. |
boolean |
needsScores() |
Whether this values source needs scores.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdocsWithValuepublic Script(SearchScript.LeafFactory 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