You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Harun Reşit Zafer <ha...@tubitak.gov.tr> on 2013/12/11 13:53:38 UTC

Fwd: FuzzyLookupFactory fwfsta.bin

With the configration below:

<searchComponent class="solr.SpellCheckComponent" name="suggest">
    <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.fst.FuzzyLookupFactory</str>
       <str name="storeDir">fuzzy_suggest_analyzing</str>
       <str name="buildOnCommit">true</str>

       <str name="suggestAnalyzerFieldType">text_tr</str>

       <str name="sourceLocation">suggestions.txt</str>

       <!-- Suggester properties -->
       <bool name="exactMatchFirst">true</bool>
       <bool name="preserveSep">false</bool>

    </lst>

    <str name="queryAnalyzerFieldType">lowercase</str>
</searchComponent>

*I got th**e error:*

...\solr-4.6.0\example\solr\collection1\data\fuzzy_suggest_analyzing\fwfsta.bin 
(The system cannot find the file specified)


-- 
Harun Reşit Zafer
TÜBİTAK BİLGEM BTE
Metin Madenciliği ve Kaynaştırma Sistemleri Bölümü
T +90 262 675 3268
Whttp://www.hrzafer.com




Re: FuzzyLookupFactory fwfsta.bin

Posted by Areek Zillur <ar...@gmail.com>.
This error is misleading. It tries to load the suggester index from the
storeDir parameter even on the first run, when the index was not created to
begin with, and hence errors. (it will create the index itself when a build
command is issued).

I believe you will not see the error once the index is built for the
suggester and the error on the first run does not have any consequences in
terms of functionality.


On Wed, Dec 11, 2013 at 4:53 AM, Harun Reşit Zafer <
harun.zafer@tubitak.gov.tr> wrote:

> With the configration below:
>
> <searchComponent class="solr.SpellCheckComponent" name="suggest">
>    <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.fst.
> FuzzyLookupFactory</str>
>       <str name="storeDir">fuzzy_suggest_analyzing</str>
>       <str name="buildOnCommit">true</str>
>
>       <str name="suggestAnalyzerFieldType">text_tr</str>
>
>       <str name="sourceLocation">suggestions.txt</str>
>
>       <!-- Suggester properties -->
>       <bool name="exactMatchFirst">true</bool>
>       <bool name="preserveSep">false</bool>
>
>    </lst>
>
>    <str name="queryAnalyzerFieldType">lowercase</str>
> </searchComponent>
>
> *I got th**e error:*
>
> ...\solr-4.6.0\example\solr\collection1\data\fuzzy_suggest_analyzing\fwfsta.bin
> (The system cannot find the file specified)
>
>
> --
> Harun Reşit Zafer
> TÜBİTAK BİLGEM BTE
> Metin Madenciliği ve Kaynaştırma Sistemleri Bölümü
> T +90 262 675 3268
> Whttp://www.hrzafer.com
>
>
>
>