Thank you, the error has gone, but the filter doesn't work.
If I select a value in J (X) that appears also in J (Y), the result is that the J (Y) table is empty. Any way to do that?
EDIT:
I create a new scripted field with both X.keyword and Y.keyword.. I think the same scripted field is executed in all indeces, when I select a value in it, correct?
if (doc.containsKey('X.keyword')) {
def val = doc['x.keyword'].value;
if (val != null) {
return val;
} else {
return "";
}
} else if (doc.containsKey('Y.keyword')) {
def val = doc['Y.keyword'].value;
if (val != null) {
return val;
} else {
return "";
}
} else {
return "";
}
With this script, replicated in both INDEXA and INDEXB, I'm able to filter the same values, stored in different fields and in different indeces.
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.