I have no idea, especially since the syntax of the query is wrong, is this a cut/paste error? Because you should have something like &q=UniqueID:[* TO 123], you left off the "q=" bit. Otherwise, depending on whether you have a default query specified you may be getting a much different query than you expect.
Add &debug=all to the query and you should see a timings section that might shed some light. Best Erick On Mon, Sep 2, 2013 at 10:29 AM, vrparekh <vrpar...@gmail.com> wrote: > Hello, > > I am using solr 3.6 > > In that one field name is UniqueID. > I want to get only those data which less than some particular UniqueID > So I tried by below mentioned way. > > Suppose I want only those results which are less than 123 than > > http://SolrURL/Core/select?start=0&Rows=10&......&UniqueID:[*+TO+123] > By using this Query, It takes much time to retrieve data. > and without this &UniqueID:[*+TO+123] it gives data in few seconds. > > But if we use with &UniqueID:[*+TO+123], it consumes so much time to > retrieve data from solr? > > What may be the issue? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Query-taking-so-much-time-to-retrieve-data-tp4087832.html > Sent from the Solr - User mailing list archive at Nabble.com. >