How to scroll all data in es cluster cross indices


(Misko Lee) #1

now,we have too many indices,and that indices create or delete very dynamic.

so,how to scoll all data cross indices ?


(Mark Walkom) #2

Using the scroll API! :slight_smile:
https://www.elastic.co/guide/en/elasticsearch/reference/5.0/search-request-scroll.html


(Misko Lee) #3

i know the API scroll

but ,its scroll all data of one index. cant cross indices.


(Xavier Facq) #4

Set the same alias to all your indices, ans scroll over the alias name ?


(Misko Lee) #5

good idea!


(system) #6