I know that this is often a performance problem -- but Erick, I am interested in the 'better solution' you hint at!

There are a variety of cases where you want to 'dump' all documents from a collection. One example might be in order to build a Google SiteMap for your app that's fronting your Solr. That's mine at the moment. If anyone can think of a way to do this that doesn't have horrible performance (and bonus points if it doesn't completely mess up caches too by filling them with everything), that would be awesome.

Jonathan

On 1/18/2011 8:47 PM, Erick Erickson wrote:
This is usually a bad idea, but if you really must use
q=*:*&start=0&rows=1000000

Assuming that there are fewer than 1,000,000 documents in your index.

And if there are more, you won't like the performance anyway.....

Why do you want to do this? There might be a better solution.

Best
Erick

On Tue, Jan 18, 2011 at 7:58 PM, Dan Baughman<da...@hostworks.com>  wrote:

Is there a way I can simply tell the index to return its entire record set?

I tried starting and ending with just  a "*" but no dice.

Reply via email to