Ok, thanks for pointing that out!

2013/12/3 Kydryavtsev Andrey <werde...@yandex.ru>

> Yep, sorry, it doesn't work for file-based dictionaries:
>
> > In particular, you still need to index the dictionary file once by
> issuing a search with &spellcheck.build=true on the end of the URL; if you
> system doesn't update that dictionary file, then this only needs to be done
> once. This manual step may be required even if your configuration sets
> build=true and reload=true.
>
> http://wiki.apache.org/solr/FileBasedSpellChecker
>
> 03.12.2013, 21:27, "Mirko" <idonthaveenoughinformat...@googlemail.com>:
> > Yes, I have that, but it doesn't help. It seems Solr still needs the
> query
> > with the "spellcheck.build" parameter to build the spellchecker index.
> >
> > 2013/12/3 Kydryavtsev Andrey <werde...@yandex.ru>
> >
> >>  Did you try to add
> >>    <str name="buildOnCommit">true</str>
> >>   parameter to your slave's spellcheck configuration?
> >>
> >>  03.12.2013, 12:04, "Mirko" <idonthaveenoughinformat...@googlemail.com
> >:
> >>>  Hi all,
> >>>  We use a Solr SpellcheckComponent with a file-based dictionary. We
> run a
> >>>  master and some replica slave servers. To update the dictionary, we
> copy
> >>>  the dictionary txt file to the master, from where it is automatically
> >>>  replicated to all slaves. However, it seems we need to run the
> >>>  "spellcheck.build" query on all servers individually.
> >>>
> >>>  Is there a way to automatically build the spellcheck dictionary on all
> >>>  servers without calling "spellcheck.build" on all slaves individually?
> >>>
> >>>  We use Solr 4.0.0
> >>>
> >>>  Thanks,
> >>>  Mirko
>

Reply via email to