Class LookupFactory

    • Field Detail

      • DEFAULT_FILE_BASED_DICT

        public static String DEFAULT_FILE_BASED_DICT
        Default lookup implementation to use for SolrSuggester
    • Constructor Detail

      • LookupFactory

        public LookupFactory()
    • Method Detail

      • create

        public abstract org.apache.lucene.search.suggest.Lookup create​(NamedList params,
                                                                       SolrCore core)
        Create a Lookup using config options in params and current core
      • storeFileName

        public abstract String storeFileName()

        Returns the filename in which the in-memory data structure is stored

        NOTE: not all Lookup implementations store in-memory data structures
      • getTempDir

        protected static org.apache.lucene.store.FSDirectory getTempDir()