Package org.apache.solr.schema
Class StrFieldSource
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.lucene.queries.function.valuesource.FieldCacheSource
-
- org.apache.solr.schema.StrFieldSource
-
public class StrFieldSource extends org.apache.lucene.queries.function.valuesource.FieldCacheSource
-
-
Constructor Summary
Constructors Constructor Description StrFieldSource(String field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
boolean
equals(Object o)
org.apache.lucene.queries.function.FunctionValues
getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext)
int
hashCode()
-
Methods inherited from class org.apache.lucene.queries.function.valuesource.FieldCacheSource
getField
-
-
-
-
Constructor Detail
-
StrFieldSource
public StrFieldSource(String field)
-
-
Method Detail
-
description
public String description()
- Overrides:
description
in classorg.apache.lucene.queries.function.valuesource.FieldCacheSource
-
getValues
public org.apache.lucene.queries.function.FunctionValues getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
- Specified by:
getValues
in classorg.apache.lucene.queries.function.ValueSource
- Throws:
IOException
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classorg.apache.lucene.queries.function.valuesource.FieldCacheSource
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.apache.lucene.queries.function.valuesource.FieldCacheSource
-
-