Can we have map of string, object as the name suggests for native
script.
I simply want to put parameter map as map of string,map instead of
string,string
Is it possible in custom score query?
Regards.
Can we have map of string, object as the name suggests for native
script.
I simply want to put parameter map as map of string,map instead of
string,string
Is it possible in custom score query?
Regards.
the native script signature is:
ExecutableScript newScript(final Map<String, Object> params)
so, yes. you can do it.
© 2020. All Rights Reserved - Elasticsearch
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.