...
searchComponent/@name
- arbitrary name for this componentspellchecker
list:name
- a symbolic name of this spellchecker (can be later referred to in URL parameters and in SearchHandler configuration - see the section below)classname
- Suggester, to provide the autocomplete functionalitylookupImpl
- Lookup implementation. These in-memory implementations are available:org.apache.solr.spelling.suggest.tst.TSTLookupFactory
- a simple compact ternary trie based lookuporg.apache.solr.spelling.suggest.jaspell.JaspellLookupFactory
- a more complex lookup based on a ternary trie from the JaSpell project.org.apache.solr.spelling.suggest.fst.FSTLookupFactory
- automaton-based lookuporg.apache.solr.spelling.suggest.fst.WFSTLookupFactory
- weighted automaton-based lookup
buildOnCommit
- if set to true then the Lookup data structure will be rebuilt after commit. If false (default) then the Lookup data will be built only when requested (by URL parameterspellcheck.build=true
). NOTE: currently implemented Lookup-s keep their data in memory, so unlike spellchecker data this data is discarded on core reload and not available until you invoke the build command, either explicitly or implicitly via commit.sourceLocation
- location of the dictionary file. If not empty then this is a path to a dictionary file (see below). If this value is empty then the main index will be used as a source of terms and weights.field
- ifsourceLocation
is empty then terms from this field in the index will be used when building the trie.Wiki Markup {{threshold}} - threshold is a value in \[0..1\] representing the minimum fraction of documents (of the total) where a term should appear, in order to be added to the lookup dictionary.
storeDir
- where to store the index data on the disk (else use in-memory).
...