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.
Can you suggest if this is possible or this is not possible using query DSL
? If you think its possible, a pointer would also help.
Op donderdag 19 december 2013 01:35:24 UTC+1 schreef Bijuv V:
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.
Can you suggest if this is possible or this is not possible using query
DSL ? If you think its possible, a pointer would also help.
Op donderdag 19 december 2013 01:35:24 UTC+1 schreef Bijuv V:
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.
Can you suggest if this is possible or this is not possible using query
DSL ? If you think its possible, a pointer would also help.
Op donderdag 19 december 2013 01:35:24 UTC+1 schreef Bijuv V:
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.
Can you suggest if this is possible or this is not possible using query
DSL ? If you think its possible, a pointer would also help.
Op donderdag 19 december 2013 01:35:24 UTC+1 schreef Bijuv V:
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.
Can you suggest if this is possible or this is not possible using query
DSL ? If you think its possible, a pointer would also help.
Op donderdag 19 december 2013 01:35:24 UTC+1 schreef Bijuv V:
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.