public static class ValuesSource.Bytes.Script extends ValuesSource.Bytes
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.WithScript
ValuesSource.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, wait
docsWithValue
public Script(SearchScript.LeafFactory script)
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 boolean needsScores()
ValuesSource
needsScores
in class ValuesSource