public class FuzzyLookupFactory extends LookupFactory
FuzzySuggester
Modifier and Type | Field and Description |
---|---|
static String |
MAX_EDITS
Maximum number of edits allowed, used by
LevenshteinAutomata.toAutomaton(int) |
static String |
MIN_FUZZY_LENGTH
Minimum length of lookup key before any edits are allowed for the suggestions
|
static String |
NON_FUZZY_PREFIX
Length of common (non-fuzzy) prefix for the suggestions
|
static String |
TRANSPOSITIONS
If transpositions are allowed, Fuzzy suggestions will be computed based on a primitive
edit operation.
|
Constructor and Description |
---|
FuzzyLookupFactory() |
public static final String MAX_EDITS
LevenshteinAutomata.toAutomaton(int)
public static final String TRANSPOSITIONS
public static final String NON_FUZZY_PREFIX
public static final String MIN_FUZZY_LENGTH
public Lookup create(NamedList params, SolrCore core)
create
in class LookupFactory
public String storeFileName()
storeFileName
in class LookupFactory
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.