You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by vibhoreng04 <vi...@gmail.com> on 2013/11/07 19:55:30 UTC

Huge Response Time

I have a Solr Cloud setup with 220 million records.They are separated into 2
shards without any replica.I have not changed any caching and every setting
is a default one.In one case I have to return get top 50000 candidates form
the Solr. The response time approximately 50 seconds which is too high for
me.
How I can improve the response time.

PS:I can not increase the shard size.I know that sharding will help here but
I do not have that option.Also there will be only one master here and no
replica for now.



--
View this message in context: http://lucene.472066.n3.nabble.com/Huge-Response-Time-tp4099858.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Huge Response Time

Posted by Raymond Wiker <rw...@gmail.com>.
A few options:

1) Check what the response times are if you return only a small number of fields from the query (e.g, just the "id" field). If the response times improve greatly, you are probably returning some very long fields, and you may be able to drop some of these from the query result.

2) Split the query, so that you either page through the result set (by modifying "start" and "rows"), or use some other aspect of your records to retrieve smaller batches.

On 07 Nov 2013, at 19:55 , vibhoreng04 <vi...@gmail.com> wrote:

> I have a Solr Cloud setup with 220 million records.They are separated into 2
> shards without any replica.I have not changed any caching and every setting
> is a default one.In one case I have to return get top 50000 candidates form
> the Solr. The response time approximately 50 seconds which is too high for
> me.
> How I can improve the response time.
> 
> PS:I can not increase the shard size.I know that sharding will help here but
> I do not have that option.Also there will be only one master here and no
> replica for now.
> 
> 
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Huge-Response-Time-tp4099858.html
> Sent from the Solr - User mailing list archive at Nabble.com.