terascope / teraslice

Scalable data processing pipelines in JavaScript
https://terascope.github.io/teraslice/
Apache License 2.0
50 stars 13 forks source link

inconsistent behaviour with elasticsearch-api #3470

Open jsnoble opened 11 months ago

jsnoble commented 11 months ago

This module has a config options full_response which determines whether a response back should be a raw elasticsearch response being passed through or to return results back in as data-entities with their appropriate metadata stores in them.

However, this setting is completely ignored and not even referenced with the get and mget calls. I would expect that if full_response is set to true, all fetching apis would return the raw elasticsearch response (not sure this should affect the count call)