Class FreeTextLookupFactory

  • public class FreeTextLookupFactory
    extends LookupFactory
    LookupFactory implementation for FreeTextSuggester
    • Field Detail


        public static final String QUERY_ANALYZER
        The analyzer used at "query-time" and "build-time" to analyze suggestions.
        See Also:
        Constant Field Values
      • NGRAMS

        public static final String NGRAMS
        The n-gram model to use in the underlying suggester; Default value is 2.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FreeTextLookupFactory

        public FreeTextLookupFactory()
    • Method Detail

      • create

        public create​(org.apache.solr.common.util.NamedList<?> params,
                                                              SolrCore core)
        Description copied from class: LookupFactory
        Create a Lookup using config options in params and current core
        Specified by:
        create in class LookupFactory
      • storeFileName

        public String storeFileName()
        Description copied from class: LookupFactory
        Returns the filename in which the in-memory data structure is stored NOTE: not all Lookup implementations store in-memory data structures
        Specified by:
        storeFileName in class LookupFactory