Fetching Index - type relation


(bhuvana) #1

I am trying to fetch index and its corresponding types in a single query. I tried using I tried using filter_path search like this localhost:9200/_search?filter_path=hits.hits._index,hits.hits._type&pretty But if one index - one type contains multiple records, then the list is getting repeated. I need unique values i.e., index 1 - type 1, index 1- type 2, index 2 - type 1 like this. Pls provide suggestions


(system) #2

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