org.apache.solr.search.function
Class FileFloatSource
java.lang.Object
org.apache.solr.search.function.ValueSource
org.apache.solr.search.function.FileFloatSource
- All Implemented Interfaces:
- Serializable
public class FileFloatSource
- extends ValueSource
Obtains float field values from an external file.
- Version:
- $Id: FileFloatSource.java 1229782 2012-01-10 22:50:43Z erick $
- See Also:
- Serialized Form
FileFloatSource
public FileFloatSource(SchemaField field,
SchemaField keyField,
float defVal,
QParser parser)
description
public String description()
- Description copied from class:
ValueSource
- description of field, used in explain()
- Specified by:
description
in class ValueSource
getValues
public DocValues getValues(Map context,
IndexReader reader)
throws IOException
- Description copied from class:
ValueSource
- Gets the values for this reader and the context that was previously
passed to createWeight()
- Overrides:
getValues
in class ValueSource
- Throws:
IOException
equals
public boolean equals(Object o)
- Specified by:
equals
in class ValueSource
hashCode
public int hashCode()
- Specified by:
hashCode
in class ValueSource
toString
public String toString()
- Overrides:
toString
in class ValueSource
resetCache
public static void resetCache()