public class StringDistanceFunction
extends org.apache.lucene.queries.function.ValueSource
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.search.spell.StringDistance |
dist |
protected org.apache.lucene.queries.function.ValueSource |
str1 |
protected org.apache.lucene.queries.function.ValueSource |
str2 |
Constructor and Description |
---|
StringDistanceFunction(org.apache.lucene.queries.function.ValueSource str1,
org.apache.lucene.queries.function.ValueSource str2,
org.apache.lucene.search.spell.StringDistance measure) |
Modifier and Type | Method and Description |
---|---|
String |
description() |
boolean |
equals(Object o) |
org.apache.lucene.queries.function.FunctionValues |
getValues(Map context,
org.apache.lucene.index.LeafReaderContext readerContext) |
int |
hashCode() |
protected org.apache.lucene.queries.function.ValueSource str1
protected org.apache.lucene.queries.function.ValueSource str2
protected org.apache.lucene.search.spell.StringDistance dist
public StringDistanceFunction(org.apache.lucene.queries.function.ValueSource str1, org.apache.lucene.queries.function.ValueSource str2, org.apache.lucene.search.spell.StringDistance measure)
public org.apache.lucene.queries.function.FunctionValues getValues(Map context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
getValues
in class org.apache.lucene.queries.function.ValueSource
IOException
public String description()
description
in class org.apache.lucene.queries.function.ValueSource
public boolean equals(Object o)
equals
in class org.apache.lucene.queries.function.ValueSource
public int hashCode()
hashCode
in class org.apache.lucene.queries.function.ValueSource
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.