public class EditDistance extends Object implements Serializable
The context in which this is used determines the semantics of the edit distance. For instance, it might indicate single-character edits if used with fuzzy search queries or whole word movements if used with phrase proximity queries.
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_EDIT_DISTANCE |
int |
distance |
String |
query |
Constructor and Description |
---|
EditDistance(String query) |
EditDistance(String query,
int distance) |
public static final int DEFAULT_EDIT_DISTANCE
public final String query
public final int distance
Copyright © 2012–2018. All rights reserved.