public final class MultiValueSource extends ValueSource
getValues(org.apache.lucene.index.IndexReader).
NOTE: this class adds a CPU penalty to every lookup, as it must resolve the incoming document to the right sub-reader using a binary search.
| Constructor and Description |
|---|
MultiValueSource(ValueSource other)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
description()
Deprecated.
description of field, used in explain()
|
boolean |
equals(java.lang.Object o)
Deprecated.
Needed for possible caching of query results - used by
ValueSourceQuery.equals(Object). |
DocValues |
getValues(IndexReader reader)
Deprecated.
Return the DocValues used by the function query.
|
int |
hashCode()
Deprecated.
Needed for possible caching of query results - used by
ValueSourceQuery.hashCode(). |
toStringpublic MultiValueSource(ValueSource other)
public DocValues getValues(IndexReader reader) throws java.io.IOException
ValueSourcegetValues in class ValueSourcereader - the IndexReader used to read these values.
If any caching is involved, that caching would also be IndexReader based.java.io.IOException - for any error.public java.lang.String description()
ValueSourcedescription in class ValueSourcepublic boolean equals(java.lang.Object o)
ValueSourceValueSourceQuery.equals(Object).equals in class ValueSourceObject.equals(Object)public int hashCode()
ValueSourceValueSourceQuery.hashCode().hashCode in class ValueSourceObject.hashCode()Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.