org.apache.lucene.search.function
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() . |
toString
public MultiValueSource(ValueSource other)
public DocValues getValues(IndexReader reader) throws java.io.IOException
ValueSource
getValues
in class ValueSource
reader
- 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()
ValueSource
description
in class ValueSource
public boolean equals(java.lang.Object o)
ValueSource
ValueSourceQuery.equals(Object)
.equals
in class ValueSource
Object.equals(Object)
public int hashCode()
ValueSource
ValueSourceQuery.hashCode()
.hashCode
in class ValueSource
Object.hashCode()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.