org.apache.solr.search.function
Class FieldCacheSource
java.lang.Object
org.apache.solr.search.function.ValueSource
org.apache.solr.search.function.FieldCacheSource
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ByteFieldSource, DoubleFieldSource, FloatFieldSource, IntFieldSource, LongFieldSource, ShortFieldSource, StrFieldSource
public abstract class FieldCacheSource
- extends ValueSource
A base class for ValueSource implementations that retrieve values for
a single field from the FieldCache
.
- Version:
- $Id: FieldCacheSource.java 1065312 2011-01-30 16:08:25Z rmuir $
- See Also:
- Serialized Form
Field Summary |
protected org.apache.lucene.search.FieldCache |
cache
|
protected String |
field
|
field
protected String field
cache
protected org.apache.lucene.search.FieldCache cache
FieldCacheSource
public FieldCacheSource(String field)
getFieldCache
public org.apache.lucene.search.FieldCache getFieldCache()
description
public String description()
- Description copied from class:
ValueSource
- description of field, used in explain()
- Specified by:
description
in class ValueSource
equals
public boolean equals(Object o)
- Specified by:
equals
in class ValueSource
hashCode
public int hashCode()
- Specified by:
hashCode
in class ValueSource
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.