- How to fetch Foo.id alone for multiple documents in an index
- How to fetch Foo.bi for multiple documents in an index
Sample response from Spring Data Elasticsearch for Page is given below
"content": [ { "id": "MMb-sHUBU93O1WjGd0M1", "pid": "12500000", "bi": { "bar": 27, "height": { "feet": 5, "inches": 6, }, }, ]