Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
_source includes/excludes has no effect when getting documents by ID #2829
Initial problem report:
As far as I've tested, the "includes" and "excludes" options for the _source field have no effect - I always get the whole source. Here's a gist for recreating:
I'm on 64-bit Ubuntu and I've used the .deb packages of 0.19.7 and 0.90.0RC1 with the same results.
@clintongormley's comments (thanks!):
Hmm - it doesn't work for get-by-id. It works for search though.
Same problem here. Also, when I set the
I can confirm, that this is a problem with translog as clint already mentioned. Currently entries from the translog are always returned as is by the
I have created a first preliminary and incomplete try to fix this, which I dont like very much and hope for input of other developers. See spinscale@4fccc68