lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dyer, James" <>
Subject RE: DirectSolrSpellChecker : vastly varying spellcheck QTime times.
Date Mon, 22 Apr 2013 19:54:37 GMT
On both queries, set "spellcheck.extendedResults=true" and also "spellcheck.collateExtendedResults=true",
then post the full spelling response.  Also, how long does each query take on average with
spellcheck turned off?

James Dyer
Ingram Content Group
(615) 213-4311

-----Original Message-----
From: SandeepM [] 
Sent: Monday, April 22, 2013 2:02 PM
Subject: RE: DirectSolrSpellChecker : vastly varying spellcheck QTime times.

James, Thanks.  That was very helpful. That helped me understand count and
alternativeTermCount a bit more.

I also have the following case as pointed out earlier...
My query: 


In this case, the intent is to correct "chocolat factry" with "chocolate
factory" which exists in my spell field index. I see a QTime from the above
query as somewhere between 350-400ms 

I run a similar query replacing the spellcheck terms to "pursut hapyness"
whereas "pursuit happyness" actually exists in my spell field and I see
QTime of 15-17ms . 

Both query produce collations correctly and picking the first suggestions
and applying them as collation find what I am looking for but there is order
of magnitude difference in QTime.  There is one edit per term in both cases
or 2 edits in each query. The length of words in both these queries seem
identical. I'd like to understand why there is this vast difference in
QTime.  Also "Chocolate factory" and "Pursuit happyness" both are spellcheck
indexed as is.

I would appreciate any help with this since I am not sure how I can get any
meaningful performance numbers and attribute the slowness to anything in

-- Sandeep

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message