org.apache.solr.search.function
Class ValueSource
java.lang.Object
org.apache.solr.search.function.ValueSource
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- FieldCacheSource, LinearFloatFunction, MaxFloatFunction, OrdFieldSource, ReciprocalFloatFunction, ReverseOrdFieldSource
public abstract class ValueSource
- extends java.lang.Object
- implements java.io.Serializable
Instantiates DocValues
for a particular reader.
Often used when creating a FunctionQuery
.
- Version:
- $Id: ValueSource.java 472574 2006-11-08 18:25:52Z yonik $
- Author:
- yonik
- See Also:
- Serialized Form
Method Summary |
abstract java.lang.String |
description()
description of field, used in explain() |
abstract boolean |
equals(java.lang.Object o)
|
abstract DocValues |
getValues(org.apache.lucene.index.IndexReader reader)
|
abstract int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ValueSource
public ValueSource()
getValues
public abstract DocValues getValues(org.apache.lucene.index.IndexReader reader)
throws java.io.IOException
- Throws:
java.io.IOException
equals
public abstract boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public abstract int hashCode()
- Overrides:
hashCode
in class java.lang.Object
description
public abstract java.lang.String description()
- description of field, used in explain()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2006 - 2008 The Apache Software Foundation