Hey everyone,
I want to create a scripted field with painless that basically does this:
If(doc['field'].value== val){
return("go to site 1");}
Else{return ("go to site 2");}
And I don't see how I can add a hyperlink (an url to my "go to site 1" and" go to site 2")
I Want different url for each case and I don't want the url to show in my dashboard just "go to site 1" and "go to site 2".
Anyone got any idea how I can do this?
Thanks for your answer! That's what I was trying to do but it gives me the same label for both URLs and I want to have two different labels that don't have the URLs in them .
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.