Re: [hibernate-dev] HSEARCH-2358 "fields" attribute in Elasticsearch search results is being ignored

2016-09-28 Thread Guillaume Smet
Hi Yoann, On Wed, Sep 28, 2016 at 2:56 PM, Yoann Rodiere wrote: > I'd be in favor of 1, which seems more rational to me. It only has one > downside: if we go on with this approach, Calendar values (and > ZonedDateTime, ZonedTime, etc.) will have to be stored as String, not

[hibernate-dev] HSEARCH-2358 "fields" attribute in Elasticsearch search results is being ignored

2016-09-28 Thread Yoann Rodiere
Hi, I wanted to start a discussion about this issue. It's about stored field retrieval. When searching, Elasticsearch can return field values two different ways: * through the "_source" attribute [1], which basically provides a copy-paste of the JSON that was submitted when indexing * or