also check the timing in debugQuery=true...
I suspect most of the time should be spent in:
process:
<lst name="org.apache.solr.handler.component.QueryComponent">
On Nov 11, 2008, at 12:33 PM, Manepalli, Kalyan wrote:
Hi Otis,
I tested by taking out the newly added synonyms data and the query
time
was back to normal ~125ms.
I will verify the debugQuery and update you with the results
Thanks,
Kalyan Manepalli
-----Original Message-----
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2008 11:26 AM
To: solr-user@lucene.apache.org
Subject: Re: Synonyms impacting the performance
Hi,
That doesn't sound normal, no. Do you know what your query looks like
after synonym expansion? (you can use debugQuery=true or peek at the
logs) Is that really the only thing that changed? In other words, if
you comment out the SynonymFactory in solrconfig.xml and restart
Solr do
things really go back to 125ms?
Are you seeing slowness for one particular query or for all of them?
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
________________________________
From: "Manepalli, Kalyan" <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Tuesday, November 11, 2008 11:58:37 AM
Subject: Synonyms impacting the performance
Hi all,
I recently implemented query time synonyms in my
application
and I am seeing drastic performance degradation.
The synonyms file is counts around 1000 words.
The average querytime without synonyms is around 125 ms and with
synonyms it jumps to 20 secs.
Am I missing something here, since this doesn't look like a normal
behavior
Any suggestions on this will be helpful
Thanks,
Kalyan Manepalli