You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/12/16 22:50:54 UTC

[Solr Wiki] Update of "Suggester" by TimothyPotterLucidworks

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "Suggester" page has been changed by TimothyPotterLucidworks:
https://wiki.apache.org/solr/Suggester?action=diff&rev1=16&rev2=17

      <lst name="spellchecker">
        <str name="name">suggest</str>
        <str name="classname">org.apache.solr.spelling.suggest.Suggester</str>
-       <str name="lookupImpl">org.apache.solr.spelling.suggest.tst.TSTLookup</str>
+       <str name="lookupImpl">org.apache.solr.spelling.suggest.tst.TSTLookupFactory</str>
        <!-- Alternatives to lookupImpl: 
-            org.apache.solr.spelling.suggest.fst.FSTLookup   [finite state automaton]
+            org.apache.solr.spelling.suggest.fst.FSTLookupFactory   [finite state automaton]
             org.apache.solr.spelling.suggest.fst.WFSTLookupFactory [weighted finite state automaton]
-            org.apache.solr.spelling.suggest.jaspell.JaspellLookup [default, jaspell-based]
+            org.apache.solr.spelling.suggest.jaspell.JaspellLookupFactory [default, jaspell-based]
-            org.apache.solr.spelling.suggest.tst.TSTLookup   [ternary trees]
+            org.apache.solr.spelling.suggest.tst.TSTLookupFactory   [ternary trees]
        -->
        <str name="field">name</str>  <!-- the indexed field to derive suggestions from -->
        <float name="threshold">0.005</float>
@@ -88, +88 @@

   * `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.suggest.tst.TSTLookup` - a simple compact ternary trie based lookup
+   * `org.apache.solr.spelling.suggest.tst.TSTLookupFactory` - a simple compact ternary trie based lookup
-   * `org.apache.solr.suggest.jaspell.JaspellLookup` - a more complex lookup based on a ternary trie from the [[http://jaspell.sourceforge.net/|JaSpell]] project.
+   * `org.apache.solr.spelling.suggest.jaspell.JaspellLookupFactory` - a more complex lookup based on a ternary trie from the [[http://jaspell.sourceforge.net/|JaSpell]] project.
-   * `org.apache.solr.suggest.fst.FSTLookup` - automaton-based lookup
+   * `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.