Skip to content

Bulk query crashing #407

@jawline

Description

@jawline

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions