Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unexpected loss of digits in docs_bulk #279

@cphaarmeyer

Description

@cphaarmeyer

Not sure if this is a bug or intended. It caused me some problems.

When using docs_bulk_index on a data frame, only 4 digits actually appeared in the Elasticsearch. This was due to a call of jsonlite::toJSON in make_bulk_ which only keeps 4 digits by default. Maybe set digits = NA?

In my case I resolved this by writing my own custum function to create a bulk upload textfile. But maybe someone else has a similar problem and I didnt find an issue on this here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions