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

2016-09-28 Thread Yoann Rodiere
On 28 September 2016 at 15:23, Guillaume Smet wrote: > > You won't be able to use these sorts of features: > https://www.elastic.co/guide/en/elasticsearch/reference/curr > ent/search-aggregations-bucket-datehistogram-aggregation.html > https://www.elastic.co/guide/en/elasticsearch/reference/curr >

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 as > Date, since Elast

[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 throu