I have some data indexed in Index 1 - for e.g - I have all of the routes 
of a train listed in Index 1. 

I can search the train that goes in a particular route by querying the 
index 1. This is ok.

I have another index that has has the details of all trains that are under 
maintenance. 

So from Index 2, I can get all trains that are under maintenance.

Now the question is : 

How do I write a query that will list the routes of trains that are under 
maintenance and 2) list the routes of the train that are not under 
maintenance. 

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/6e71f8c1-36fe-45fe-85a8-7122e006d53f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to