public class WFSTLookupFactory extends LookupFactory
WFSTCompletionLookup
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). |
DEFAULT_FILE_BASED_DICT
Constructor and Description |
---|
WFSTLookupFactory() |
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 Lookup create(NamedList params, SolrCore core)
LookupFactory
params
and
current core
create
in class LookupFactory
public String storeFileName()
LookupFactory
Returns the filename in which the in-memory data structure is stored
NOTE: not allLookup
implementations store in-memory data structuresstoreFileName
in class LookupFactory
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.