Hmmm, how are you configuring you spell checker? The first-time slowdown is probably due to cache warming, but subsequent 500 ms slowdowns seem odd. How many unique terms are there in your spellecheck index?
It'd probably be best if you showed us your fieldtype and field definition... Best Erick On Mon, Jun 6, 2011 at 4:04 PM, Demian Katz <demian.k...@villanova.edu> wrote: > I'm continuing to work on tuning my Solr server, and now I'm noticing that my > biggest bottleneck is the SpellCheckComponent. This is eating multiple > seconds on most first-time searches, and still taking around 500ms even on > cached searches. Here is my configuration: > > <searchComponent name="spellcheck" > class="org.apache.solr.handler.component.SpellCheckComponent"> > <lst name="spellchecker"> > <str name="name">basicSpell</str> > <str name="field">spelling</str> > <str name="accuracy">0.75</str> > <str name="spellcheckIndexDir">./spellchecker</str> > <str name="queryAnalyzerFieldType">textSpell</str> > <str name="buildOnOptimize">true</str> > </lst> > </searchComponent> > > I've done a bit of searching, but the best advice I could find for making the > search component go faster involved reducing spellcheck.maxCollationTries, > which doesn't even seem to apply to my settings. > > Does anyone have any advice on tuning this aspect of my configuration? Are > there any extra debug settings that might give deeper insight into how the > component is spending its time? > > thanks, > Demian >