Re: Automatically build spellcheck dictionary on replicas

2013-12-04 Thread Mirko
Ok, thanks for pointing that out!


2013/12/3 Kydryavtsev Andrey 

> 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" :
> > 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 
> >
> >>  Did you try to add
> >>true
> >>   parameter to your slave's spellcheck configuration?
> >>
> >>  03.12.2013, 12:04, "Mirko"  >:
> >>>  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
>


Re: Automatically build spellcheck dictionary on replicas

2013-12-03 Thread Kydryavtsev Andrey
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" :
> 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 
>
>>  Did you try to add
>>    true
>>   parameter to your slave's spellcheck configuration?
>>
>>  03.12.2013, 12:04, "Mirko" :
>>>  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


Re: Automatically build spellcheck dictionary on replicas

2013-12-03 Thread Mirko
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 

> Did you try to add
>   true
>  parameter to your slave's spellcheck configuration?
>
> 03.12.2013, 12:04, "Mirko" :
> > 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
>


Re: Automatically build spellcheck dictionary on replicas

2013-12-03 Thread Kydryavtsev Andrey
Did you try to add
  true
 parameter to your slave's spellcheck configuration?

03.12.2013, 12:04, "Mirko" :
> 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


Automatically build spellcheck dictionary on replicas

2013-12-03 Thread Mirko
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