Thanks Jeff. TermsQueryParser worked for me.
Thanks & Regards,
Bhaumik Joshi
From: Jeff Wartes
Sent: Thursday, May 5, 2016 8:19 AM
To: solr-user@lucene.apache.org
Subject: Re: Passing Ids in query takes more time
An ID lookup is a very simple and
Thanks Erick. TermsQueryParser worked for me.
Thanks & Regards,
Bhaumik Joshi
From: Erick Erickson
Sent: Friday, May 6, 2016 10:00 AM
To: solr-user
Subject: Re: Passing IDs in query takes more time
Well, you're parsing 80K IDs and forming th
Well, you're parsing 80K IDs and forming them into a query. Consider
what has to happen. Even in the very best case of the
being evaluated first, for every doc that satisfies that clause the inverted
index must be examined 80,000 times to see if that doc matches
one of the IDs in your huge clause
An ID lookup is a very simple and fast query, for one ID. Or’ing a lookup for
80k ids though is basically 80k searches as far as Solr is concerned, so it’s
not altogether surprising that it takes a while. Your complaint seems to be
that the query planner doesn’t know in advance that should be
Hi,
I am retrieving ids from collection1 based on some query and passing those ids
as a query to collection2 so the query to collection2 which contains ids in it
takes much more time compare to normal query.
Que. 1 - While passing ids to query why it takes more time compare to normal
query h
Hi,
I am retrieving ids from collection1 based on some query and passing those ids
as a query to collection2 so the query to collection2 which contains ids in it
takes much more time compare to normal query.
Que. 1 - While passing ids to query why it takes more time compare to normal
query h