Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

JSON document malformed when indexed with bulk operation #71

Closed
tryge opened this issue Sep 25, 2013 · 2 comments
Closed

JSON document malformed when indexed with bulk operation #71

tryge opened this issue Sep 25, 2013 · 2 comments

Comments

@tryge
Copy link

tryge commented Sep 25, 2013

The following request:

Bulk bulk = new Bulk.Builder()
            .defaultIndex(Constants.RECIPE_INDEX)
            .defaultType(Constants.RECIPE_TYPE)
            .addAction(
                new Index.Builder("{\"test\":\"with sensible whitespace in a document\"}").id("1").build()
            ).build();

yields the following document as result

{"test":"withsensiblewhitespaceinadocument"}
@tryge
Copy link
Author

tryge commented Sep 25, 2013

version 0.0.4

@kramer
Copy link
Member

kramer commented Sep 25, 2013

Duplicate of #60 which is already fixed and will be released with version 0.0.5.

@kramer kramer closed this as completed Sep 25, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants