Class StringDistanceFunction
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.solr.search.function.distance.StringDistanceFunction
-
public class StringDistanceFunction extends org.apache.lucene.queries.function.ValueSource
-
-
Constructor Summary
Constructors Constructor Description StringDistanceFunction(org.apache.lucene.queries.function.ValueSource str1, org.apache.lucene.queries.function.ValueSource str2, org.apache.lucene.search.spell.StringDistance measure)
-
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()
-
-
-
Method Detail
-
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
-
description
public String description()
- Specified by:
description
in classorg.apache.lucene.queries.function.ValueSource
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classorg.apache.lucene.queries.function.ValueSource
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classorg.apache.lucene.queries.function.ValueSource
-
-