Re: SolrCloud with Near Realtime Search: buildOnOptimize in IndexBasedSpellChecker

2012-12-17 Thread Artyom
Thank you, Upayavira, I know about the DirectSpellChecker. But I want to know how IndexBasedSpellChecker is handled in SolrCloud. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-with-Near-Realtime-Search-buildOnOptimize-in-IndexBasedSpellChecker-tp4027499p4027514.h

Re: SolrCloud with Near Realtime Search: buildOnOptimize in IndexBasedSpellChecker

2012-12-17 Thread Tomás Fernández Löbbe
It only rebuilds on explicit optimize operations. A background merge that merges all segments (to 1) won't fire the rebuild AFAIK. And Upayavira is right, you can choose to use a DirectSolrSpellChecker, that way you don't need an external index at all. On Mon, Dec 17, 2012 at 9:46 AM, Upayavira

Re: SolrCloud with Near Realtime Search: buildOnOptimize in IndexBasedSpellChecker

2012-12-17 Thread Upayavira
Note with 4.0 you don't need to build a spellcheck index. Spellchecking can happen from your main index (unless you are providing your own dictionary). Upayavira On Mon, Dec 17, 2012, at 12:36 PM, Artyom wrote: > Thank you, Tomás. > > This wiki > http://wiki.apache.org/solr/UpdateXmlMessages#A.2

Re: SolrCloud with Near Realtime Search: buildOnOptimize in IndexBasedSpellChecker

2012-12-17 Thread Artyom
Thank you, Tomás. This wiki http://wiki.apache.org/solr/UpdateXmlMessages#A.22commit.22_and_.22optimize.22 says "*Segments are normally merged over time anyway (as determined by the merge policy), and optimize just forces these merges to occur immediately.*" Doesn't the merge policy affects buil

Re: SolrCloud with Near Realtime Search: buildOnOptimize in IndexBasedSpellChecker

2012-12-17 Thread Tomás Fernández Löbbe
"optimize" operations only occur when you explicitly request for them. All nodes should get the command, so if you have set the "buildOnOptimize" in all nodes (you probably are, as you are using the same configuration) then all of them should rebuild the spellcheck index. Tomás On Mon, Dec 17, 2