Class DictionaryFactory

    • Field Detail


        public static String DEFAULT_FILE_BASED_DICT
        Default dictionary implementation to use for FileBasedDictionaries

        public static String DEFAULT_INDEX_BASED_DICT
        Default dictionary implementation to use for IndexBasedDictionaries
    • Constructor Detail

      • DictionaryFactory

        public DictionaryFactory()
    • Method Detail

      • setParams

        public void setParams​(NamedList params)
        Sets the parameters available to SolrSuggester for use in Dictionary creation
      • create

        public abstract create​(SolrCore core,
                                                                         SolrIndexSearcher searcher)
        Create a Dictionary using options in core and optionally uses searcher, in case of index based dictionaries