Get all nested arrays from ElasticSearch document and sort it -
i have mapping similar this: jsonexample
this represents changelog structure. each document represents object properties. these properties can changed @ dates. limit space, keeps track of changes instead of updating whole object 1 updated field example.
the goal query object based on given date. result should object properties on given date. later changes should discarded , changes matching or recent given date should returned.
so nested query can retrieve whole object. want nested properties returned , sorted closest given date can find properties @ given date.
is there way elasticsearch queries/filters , without parsing returned json , sort afterwards example java.
Comments
Post a Comment