I have two Indexes. I want to get the list of matched and unmatched data based on field(s).
I had tried to use Preview transform Api , but it's showing data only up to 100 records. Please let me know ,is there any other approach in Elasticsearch?
Thanks in advance.
Sample (Please Assume more than 100 records):
This is just for my data schema.
curl -XPOST "http://localhost:9200/_bulk" -H "kbn-xsrf: reporting" -H "Content-Type: application/json" -d'
{ "index" : { "_index" : "testindex", "_id" : "1" } }
{ "id" :"1", "name" : "Abhihek Gupta", "gender" : "Male","age" : "21","indexname" : "kc_app"}
{ "index" : { "_index" : "testindex", "_id" : "2" } }
{ "id" :"2", "name" : "Kiran Kher", "gender" : "Female","age" : "22","indexname" : "kc_app"}
{ "index" : { "_index" : "testindex", "_id" : "3" } }
{"id" :"3", "name" : "Abhihek Banargee", "gender" : "Male","age" : "23","indexname" : "kc_app"}
{ "index" : { "_index" : "testindex", "_id" : "4" } }
{"id" :"4", "name" : "Kiran Gupta12", "gender" : "Male","age" : "25" ,"indexname" : "kc_app"}
{ "index" : { "_index" : "testindex", "_id" : "5" } }
{"id" :"5", "name" : "Kiran Gupta23", "gender" : "Male","age" : "25" ,"indexname" : "kc_app"}
'
curl -XPOST "http://localhost:9200/_bulk" -H "kbn-xsrf: reporting" -H "Content-Type: application/json" -d'
{ "index" : { "_index" : "testindex1", "_id" : "1" } }
{ "id" :"1", "name" : "Abhihek Gupta1", "gender" : "Male","age" : "21","indexname" : "Zero_app"}
{ "index" : { "_index" : "testindex1", "_id" : "2" } }
{ "id" :"2", "name" : "Kiran Kher", "gender" : "Female","age" : "22","indexname" : "Zero_app"}
{ "index" : { "_index" : "testindex1", "_id" : "3" } }
{"id" :"3", "name" : "Abhihek Banargee", "gender" : "Male","age" : "23","indexname" : "Zero_app"}
{ "index" : { "_index" : "testindex1", "_id" : "4" } }
{"id" :"4", "name" : "Kiran Gupta", "gender" : "feMale","age" : "25","indexname" : "Zero_app"}
{ "index" : { "_index" : "testindex1", "_id" : "5" } }
{"id" :"5", "name" : "Kiran Gupta", "gender" : "Male","age" : "25","indexname" : "Zero_app"}
'
I want the compared data based on id and name filed.