public static class ValuesSource.WithScript 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.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 ValuesSource.WithScript(ValuesSource delegate, SearchScript script)
public boolean needsScores()
ValuesSource
needsScores
in class ValuesSource
public SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws IOException
ValuesSource
ValuesSource.WithScript.BytesValues
.bytesValues
in class ValuesSource
IOException
Copyright © 2009–2016. All rights reserved.