Hi Otis,

{quote}It's hard to tell where exactly the bottleneck is without looking
at the server and a few other things. {quote}

Can you suggest some areas where we can start looking into this issue?

-Raghu
  

-----Original Message-----
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 11, 2008 10:55 PM
To: solr-user@lucene.apache.org
Subject: Re: Synonyms impacting the performance
Yeah.  Though, 20 seconds still sounds like crazy, not something that
I'd expect from that not terribly complex and demanding query.  It's
hard to tell where exactly the bottleneck is without looking at the
server and a few other things.

 Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch




________________________________
From: Ryan McKinley <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Tuesday, November 11, 2008 9:33:06 PM
Subject: Re: Synonyms impacting the performance

if performance is a problem, you can try adding the synonyms at index  
time... this should give you similar results without the runtime  
results.

The obvious disadvantage is that you need to have the synonyms at  
index time...


On Nov 11, 2008, at 2:37 PM, Manepalli, Kalyan wrote:

> Hi Otis,
>     Since I have expand="true" in SynonymFilterFactory, the
> DebugQuery shows the query is expanded with all the synonyms.
> Eg;
> Without synonym the query is:
> Review:amaz | name:amaz | description:amaz
>
> With Synonym the query is:
> (Review:amaz Review:fabul  Review:improbable  Review:incredible )|
> name:amaz | (description:amaz description:fabul  
> description:improbable
> description:incredible )
>
> There are around 20 synonyms for each word. I am not sure if 20  
> keywords
> are causing the latency.
>
> Thanks,
> Kalyan Manepalli
>
> -----Original Message-----
> From: Manepalli, Kalyan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 11, 2008 11:34 AM
> To: solr-user@lucene.apache.org
> Subject: RE: Synonyms impacting the performance
>
> 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

Reply via email to