Hello all,
I have two different index say index 1 and index 2 I have to find out whether the field which is present in index 2 is also in index 1 say for e.g index 1 has a field called domainname:xyz.com and index 2 has a field name called dname:xyz.com so i have to find out whether the first index fields contains the values of second index . How to do it? Please guide
I assume the field should have the same value for a document with the same unique id in both indices. I think there is no other way than iterating over all documents that have that field set (e.g. using scroll and the exists query) and checking the value in the second index.
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.