Class SpellCheckComponent

java.lang.Object
org.apache.solr.handler.component.SearchComponent
org.apache.solr.handler.component.SpellCheckComponent
All Implemented Interfaces:
AutoCloseable, org.apache.solr.common.params.SpellingParams, SolrInfoBean, SolrMetricProducer, NamedListInitializedPlugin, SolrCoreAware

public class SpellCheckComponent extends SearchComponent implements SolrCoreAware, org.apache.solr.common.params.SpellingParams
A SearchComponent implementation which provides support for spell checking and suggestions using the Lucene contributed SpellChecker.

Refer to https://solr.apache.org/guide/solr/latest/query-guide/spell-checking.html for more details

Since:
solr 1.3
  • Field Details

    • COMPONENT_NAME

      public static final String COMPONENT_NAME
      Base name for all spell checker query parameters. This name is also used to register this component with SearchHandler.
      See Also:
    • initParams

      protected org.apache.solr.common.util.NamedList<?> initParams
    • spellCheckers

      protected Map<String,SolrSpellChecker> spellCheckers
      Key is the dictionary, value is the SpellChecker for that dictionary name
    • queryConverter

      protected QueryConverter queryConverter
  • Constructor Details

    • SpellCheckComponent

      public SpellCheckComponent()
  • Method Details