public class StringDistanceFunction extends ValueSource
| Modifier and Type | Field and Description |
|---|---|
protected StringDistance |
dist |
protected ValueSource |
str1 |
protected ValueSource |
str2 |
| Constructor and Description |
|---|
StringDistanceFunction(ValueSource str1,
ValueSource str2,
StringDistance measure) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object o) |
FunctionValues |
getValues(Map context,
LeafReaderContext readerContext) |
int |
hashCode() |
createWeight, getSortField, newContext, toStringprotected ValueSource str1
protected ValueSource str2
protected StringDistance dist
public StringDistanceFunction(ValueSource str1, ValueSource str2, StringDistance measure)
public FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues in class ValueSourceIOExceptionpublic String description()
description in class ValueSourcepublic boolean equals(Object o)
equals in class ValueSourcepublic int hashCode()
hashCode in class ValueSourceCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.