Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

  • searchComponent/@name - arbitrary name for this component
  • spellchecker 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 functionality
    • lookupImpl - Lookup implementation. These in-memory implementations are available:
      • org.apache.solr.spelling.suggest.tst.TSTLookupFactory - a simple compact ternary trie based lookup
      • org.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 lookup
      • org.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 parameter spellcheck.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 - if sourceLocation 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).

...