All results, setting result size and scrolling

I know ElasticSearch isn't a database and my problem will be solved once I'm
using CouchDB and ElasticSearch together. But I'd really like to have this
working now.

I'd like to be able to get all results for a query like 'type:release'. I'm
fine with just setting large max result set, but can that be done in a
config file instead of in each query?

Regarding scrolling, I just get back a scroll_id and keep sending that to
get all results?

Thanks,
Tristan

On Fri, Nov 26, 2010 at 8:32 PM, Tristan Sloughter <
tristan.sloughter@gmail.com> wrote:

I know Elasticsearch isn't a database and my problem will be solved once
I'm using CouchDB and Elasticsearch together. But I'd really like to have
this working now.

I'd like to be able to get all results for a query like 'type:release'. I'm
fine with just setting large max result set, but can that be done in a
config file instead of in each query?

There is not config option for this currently, so you have to set it to a
large value on each request.

Regarding scrolling, I just get back a scroll_id and keep sending that to
get all results?

Yes, thats the idea. Note that there is an open bug on the scrolling feature
that still needs to be fixed... .

Thanks,
Tristan