Re: how to avoid single character to get indexed for directspellchecker dictionary

2013-04-05 Thread Rohan Thakur
hi james I have tried using length filter factory as well but it seems that it is removing the single character from the index but when I qeuery for delll it is still giving dell l in suggestions this I think is due to querying the term like dell l solr can find the result as in it will tokenise

Re: how to avoid single character to get indexed for directspellchecker dictionary

2013-04-04 Thread Rohan Thakur
hi james after using this its working file for delll but not for de. what does this minbreaklength signifies? also can you tell me why am I not getting suggestions for smaller words like for del i should get dell as suggestion but its not giving any suggestions and also can I get suggestion

RE: how to avoid single character to get indexed for directspellchecker dictionary

2013-04-04 Thread Dyer, James
I assume if your user queries "delll" and it breaks it into pieces like "de l l l", then you're probably using WordBreakSolrSpellChecker in addition to DirectSolrSpellChecker, right? If so, then you can specify "minBreakLength" in solrconfig.xml like this: ... spellcheckers here ... wo