Elasticsearch 查询结果按日期进行排序

{"query": {"match": {"name": loophole}},"sort": {"发布时间": {"order": "desc"}}}

你可能感兴趣的:(编程,elasticsearch)