c# - Elasticsearch PUT documents in strange order -


how set elasticsearch adding new documents put method @ end (or beginning).

now it's adding new ones @ end, in middle.

i know can sort results field, want see them in browser ordered time added without additional parameters

es document store, i.e. there's no inherent insertion order. i'd go adding ?sort=yourdatefield:desc url , you're set.

if don't add specific sort field, sort score defaults 1.0, order undefined actually.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -