Hello.
Running that script:
def inst = /.*instrument:([a-z]+).*/.matcher(doc['FullDetails'].value);
if (inst.matches()) {
return inst.group(1)
} else {
return "no match"
}
causes "Fielddata is disabled on text fields by default ... Alternatively use a keyword field instead."
How to solve that not doing fielddate:true?
Thanks.