Class DummyCustomParamSpellChecker


  • public class DummyCustomParamSpellChecker
    extends org.apache.solr.spelling.SolrSpellChecker
    A Dummy SpellChecker for testing purposes
    • Field Summary

      • Fields inherited from class org.apache.solr.spelling.SolrSpellChecker

        analyzer, DEFAULT_DICTIONARY_NAME, DICTIONARY_NAME, field, FIELD, FIELD_TYPE, fieldTypeName, name
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void build​(org.apache.solr.core.SolrCore core, org.apache.solr.search.SolrIndexSearcher searcher)  
      org.apache.solr.spelling.SpellingResult getSuggestions​(org.apache.solr.spelling.SpellingOptions options)  
      void reload​(org.apache.solr.core.SolrCore core, org.apache.solr.search.SolrIndexSearcher searcher)  
      • Methods inherited from class org.apache.solr.spelling.SolrSpellChecker

        getAccuracy, getDictionaryName, getQueryAnalyzer, getStringDistance, init, isSuggestionsMayOverlap, mergeSuggestions
    • Constructor Detail

      • DummyCustomParamSpellChecker

        public DummyCustomParamSpellChecker()
    • Method Detail

      • reload

        public void reload​(org.apache.solr.core.SolrCore core,
                           org.apache.solr.search.SolrIndexSearcher searcher)
                    throws IOException
        Specified by:
        reload in class org.apache.solr.spelling.SolrSpellChecker
        Throws:
        IOException
      • build

        public void build​(org.apache.solr.core.SolrCore core,
                          org.apache.solr.search.SolrIndexSearcher searcher)
                   throws IOException
        Specified by:
        build in class org.apache.solr.spelling.SolrSpellChecker
        Throws:
        IOException
      • getSuggestions

        public org.apache.solr.spelling.SpellingResult getSuggestions​(org.apache.solr.spelling.SpellingOptions options)
                                                               throws IOException
        Specified by:
        getSuggestions in class org.apache.solr.spelling.SolrSpellChecker
        Throws:
        IOException