project2501 wrote
> 
> I see what you are asking. This is an interesting question. It seems 
> inefficient for Solr to apply the
> requested rows to all shards only to discard most of the results on merge.
> That would consume lots of resources not used in the final result set.
> 
Yeah, like Erick says this is extra working. Maybe, when I asked to get 10
rows from my shards it is insensibly (10x30 or 10x4), but when I asked 2000
we have a big trouble. Finally, we have a lot of needless data.


Michael Ryan wrote
> 
> I had a similar requirement in my project, where a user might ask for up
> to 3000 results. What I did was change SolrIndexSearcher.doc(int, Set) to
> retrieve the unique key from the field cache instead of retrieving it as a
> stored field from disk. This resulted in a massive speed improvement for
> these requests (like 10x if I recall correctly).
> 
> -Michael
> 
Thanks Michel, I'll try it.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Poor-performance-on-distributed-search-tp3590028p3599752.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to