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

Bulk query crashing #407

Open
jawline opened this issue Dec 10, 2019 · 1 comment
Open

Bulk query crashing #407

jawline opened this issue Dec 10, 2019 · 1 comment

Comments

@jawline
Copy link

jawline commented Dec 10, 2019

Whenever I try to make a bulk query with the following code my program crashes with a stack overflow exception:

let ops = all_bets.into_iter().map(|x| bulk::<BetSummary>().index(x));                         
client.bulk().index(BetSummary::index()).ty(BetSummary::static_ty()).extend(ops).send()?;  

Could you let me know what I am doing wrong?

@mwilliammyers
Copy link
Collaborator

What version of Elasticsearch are you running?

Have you tried it without the ty (type)?

What is the error message/stack trace you are getting?

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