org.apache.solr.search.function.distance
Class StringDistanceFunction
java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.solr.search.function.distance.StringDistanceFunction
public class StringDistanceFunction
- extends ValueSource
str1
protected ValueSource str1
str2
protected ValueSource str2
dist
protected StringDistance dist
StringDistanceFunction
public StringDistanceFunction(ValueSource str1,
ValueSource str2,
StringDistance measure)
getValues
public FunctionValues getValues(Map context,
AtomicReaderContext readerContext)
throws IOException
- Specified by:
getValues
in class ValueSource
- Throws:
IOException
description
public String description()
- 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-2013 Apache Software Foundation. All Rights Reserved.