ef-labs / vertx-elasticsearch-service

Vert.x elasticsearch service with event bus proxying
57 stars 18 forks source link

Fixed failure to index nested 'objects' #12

Closed miguelnmiranda closed 9 years ago

miguelnmiranda commented 9 years ago

The .getMap method works fine for the current level, but internal JsonObject's get screwed up. Getting the actual json string solves the problem... it is probably converted into that same format later on by the ES client.

Example that used to fail: {"obj": { "a1": ["apple"] } }

adrianluisgonzalez commented 9 years ago

Thanks for this. Do you mind adding a test for this?