Script file support in the Nest library for Elasticsearch
1 answer
In your script_file, you reference the "file" parameter in your script request below: -
GET /_search
{
"query":{
"filtered":{
"filter":{
"script":{
"file":"your_custom_script",
"lang":"groovy",
"params":{
"shift":3
}
}
}
}
}
}
I have the same problem when I try to use NEST to read from a script file written to disk.
This was added recently: https://github.com/elastic/elasticsearch-net/issues/1456
0
source to share