lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darniz <rnizamud...@edmunds.com>
Subject Re: Deleting spelll checker index
Date Fri, 12 Feb 2010 23:05:52 GMT

Any update on this
Do you guys want to rephrase my question, if its not clear.

Thanks
darniz


darniz wrote:
> 
> HI Guys 
> Opening this thread again.
> I need to get around this issue.
> i have a spellcheck field defined and i am copying two fileds make and
> model to this field
> <copyField source="make" dest="spellText"/>
> <copyField source="model" dest="spellText"/>
> i have buildoncommit and buildonoptimize set to true hence when i index
> data and try to search for a work accod i get back suggestion accord since
> model is also being copied.
> I stop the sorl server removed the copy filed for model. now i only copy
> make to the spellText field and started solr server. 
> i refreshed the dictiaonry by issuring the following command.
> spellcheck.build=true&spellcheck.dictionary=default
> So i hope it should rebuild by dictionary, bu the strange thing is that it
> still gives a suggestion for accrd.
> I have to reindex data again and then it wont offer me suggestion which is
> the correct behavour.
> 
> How can i create the dictionary again by changing my schema and issuing a
> command 
> spellcheck.build=true&spellcheck.dictionary=default
> 
> i cant afford to reindex data everytime.
> 
> Any answer ASAP will be appreciated
> 
> Thanks
> darniz
> 
> 
> 
> 
> 
> 
> 
> 
> 
> darniz wrote:
>> 
>> Then i assume the easiest way is to delete the directory itself.
>> 
>> darniz
>> 
>> 
>> hossman wrote:
>>> 
>>> 
>>> : We are using Index based spell checker.
>>> : i was wondering with the help of any url parameters can we delete the
>>> spell
>>> : check index directory.
>>> 
>>> I don't think so.
>>> 
>>> You might be able to configure two differnet spell check components that 
>>> point at the same directory -- one hat builds off of a real field, and
>>> one 
>>> that builds off of an (empty) text field (using FileBasedSpellChecker)
>>> .. 
>>> then you could trigger a rebuild of an empty spell checking index using 
>>> the second component.
>>> 
>>> But i've never tried it so i have no idea if it would work.
>>> 
>>> 
>>> -Hoss
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Deleting-spelll-checker-index-tp27376823p27570613.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message