org.apache.solr.spelling.suggest.fst
Class WFSTLookupFactory

java.lang.Object
  extended by org.apache.solr.spelling.suggest.LookupFactory
      extended by org.apache.solr.spelling.suggest.fst.WFSTLookupFactory

public class WFSTLookupFactory
extends LookupFactory

Factory for WFSTCompletionLookup

WARNING: This API is experimental and might change in incompatible ways in the next release.

Field Summary
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).
 
Constructor Summary
WFSTLookupFactory()
           
 
Method Summary
 Lookup create(NamedList params, SolrCore core)
           
 String storeFileName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXACT_MATCH_FIRST

public static final 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).

See Also:
Constant Field Values
Constructor Detail

WFSTLookupFactory

public WFSTLookupFactory()
Method Detail

create

public Lookup create(NamedList params,
                     SolrCore core)
Specified by:
create in class LookupFactory

storeFileName

public String storeFileName()
Specified by:
storeFileName in class LookupFactory


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.