org.apache.solr.spelling.suggest.fst
public class AnalyzingLookupFactory extends LookupFactory
AnalyzingSuggester| Modifier and Type | Field and Description |
|---|---|
static String |
EXACT_MATCH_FIRST
If
true, exact suggestions are returned first, even if they are prefixes
of other strings in the automaton (possibly with larger weights). |
static String |
MAX_EXPANSIONS
When building the FST ("index-time"), we add each path through the tokenstream graph
as an individual entry.
|
static String |
MAX_SURFACE_FORMS
When multiple suggestions collide to the same analyzed form, this is the limit of
how many unique surface forms we keep.
|
static String |
PRESERVE_SEP
If
true, then a separator between tokens is preserved. |
static String |
QUERY_ANALYZER
The analyzer used at "query-time" and "build-time" to analyze suggestions.
|
| Constructor and Description |
|---|
AnalyzingLookupFactory() |
public static final String EXACT_MATCH_FIRST
true, exact suggestions are returned first, even if they are prefixes
of other strings in the automaton (possibly with larger weights).public static final String PRESERVE_SEP
true, then a separator between tokens is preserved. This means that
suggestions are sensitive to tokenization (e.g. baseball is different from base ball).public static final String MAX_SURFACE_FORMS
public static final String MAX_EXPANSIONS
public static final String QUERY_ANALYZER
public Lookup create(NamedList params, SolrCore core)
create in class LookupFactorypublic String storeFileName()
storeFileName in class LookupFactoryCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.