Hi guys, I have an error when creating the new CampoMapa that is specified in the add-on I'm working on. It tells me that the field is created duplicated. Any idea why it can be?
I assume you wrote your own mapper. Is it possible that this mapper is not fully consuming the supplied JSON data or too much of it when parsing the mapping type configuration?
"caused_by": {
"type": "general_script_exception",
"reason": "Failed to compile inline script [notHasExpired] using lang [native]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "native scripts can not be used for context [filter]"
}
}
If code
if (context.equals(SearchScript.CONTEXT) == false) {
//throw new IllegalArgumentException(getType() + " scripts cannot be used for context [" + context.name + "]");
}
if I delete the condition of "SearchScript.CONTEXT == false" I have an error of "org.elasticsearch.script.FilterScript $ Factory" but I am using it is "SearchScript.Factory factory = hasAnyOccurrenceBetween :: new;"
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.