Need an elastic query to fetch multiple docs from multiple indexes based on input.
If I have given two fields as input, It needs verify both indexes and fetch the docs, or if at least one match should fetch that doc.
Is this not possible in single bool,
Why because we are java client to elastic, we have an ready made functionality for one bool.
otherwise I need implement java code for multi bool to prepares elastic query(uri)
If you have complex query, multiple BOOLs is not avoidable. Just wondering how you implement the client. If you use low level REST client. It takes any query you send just like Kibana.
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.