ROW_NUMBER in Elasticsearch


(Nikita Aleksahin) #1

Whether there is ROW_NUMBER() equivalent in Elasticsearch? If there is no that as he can be replaced? I tried to understand, but experience in Elasticsearch isn't enough.


(Christian Dahlqvist) #2

No, there is no row number in Elasticsearch. What is it you are looking to do? What problem are you trying to solve?


(Nikita Aleksahin) #3

I have an index. There is Primary key and timestamp. I want to filter documents and to choose only current. If I would use SQL I used ROW_NUMBER. And I want to learn whether it is possible as that to make it in ES.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.