Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only first 100 results are downloaded (instead of full download) #60

Open
fbaligand opened this issue Oct 19, 2020 · 3 comments
Open

Only first 100 results are downloaded (instead of full download) #60

fbaligand opened this issue Oct 19, 2020 · 3 comments

Comments

@fbaligand
Copy link
Contributor

Hi,

I just tested the plugin, without setting "from" or "size" options, but I get only the first 100 hits.
As documentation says, I expected a full data download.

I do this GET query:
curl "http://localhost:9200/my-index/_data?format=csv"

I tested elasticsearch-dataformat version 7.9.0.

@fbaligand
Copy link
Contributor Author

When I tell "as documentation says", I speak about this sentence in README:

This plugin allows you to download data as a format you want. If the query dsl contains "from" parameter, the query is processed as search query. If not, it's as scan query(all data are stored.).

Is there a special param to indicate that I want a full download?

@fbaligand
Copy link
Contributor Author

Hi,

I finally found how to generate a full download:
add scroll=1m parameter.

I find it only after having read plugin's code.
I think a line about this feature in the documentation would be nice.

@martinszy
Copy link

This bug is still open and this solution is still valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants