Hi,I have a problem on sorting order in elasticsearch.
When i use elasticsearch to do full-text search,i use text's score as the first order in descending and use update time field as the second order in descending.
I want to get the latest data in search result order by similarity in descending and when the search result have same similarity,the data can order by updatetime in descending .
But i am not lucky,the data i get was not what i want,actually,those data in search result was very old even though they have a high similarity with my inputs.
I want to get the latest data ,the search data can order by similarity in descending,and if they have same similarity,they can order by update time in descending.
Could anybody please help me? I am so lucky if anybody can give me a complete demo or some ideas about this.I use the Nest client,the version of it is 2.2.
Thank you !