Open jawline opened 4 years ago
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?
What version of Elasticsearch are you running?
Have you tried it without the ty (type)?
ty
What is the error message/stack trace you are getting?
Whenever I try to make a bulk query with the following code my program crashes with a stack overflow exception:
Could you let me know what I am doing wrong?