public static class ValuesSource.Bytes.Script extends ValuesSource.Bytes
ValuesSource.Bytes.FieldData, ValuesSource.Bytes.ParentChild, ValuesSource.Bytes.Script, ValuesSource.Bytes.WithOrdinals
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric, ValuesSource.WithScript
EMPTY
Constructor and Description |
---|
ValuesSource.Bytes.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.
|
docsWithValue
public ValuesSource.Bytes.Script(SearchScript script)
public SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws IOException
ValuesSource
ValuesSource.WithScript.BytesValues
.bytesValues
in class ValuesSource
IOException
public boolean needsScores()
ValuesSource
needsScores
in class ValuesSource
Copyright © 2009–2016. All rights reserved.