Questions tagged [elasticsearch-painless]

Painless is a scripting language that is purpose-built for Elasticsearch. It was introduced with Elasticsearch 5.0. Painless can be used anywhere in Elasticsearch where scripts can normally be run by specifying the 'lang' parameter as 'painless'.

484 questions
-1
votes
1 answer

Variable [ctx] is not defined when using inside source as script

"reason" : "compile error", "lang" : "painless", "caused_by" : { "type" : "illegal_argument_exception", "reason" : "Variable [ctx] is not defined." Below is the details Script used POST test_index/_update_by_query { …
-1
votes
1 answer

elastic query scipting issue using painless

A functional script query is working fine when i dont add certain scripts to it but it fails and returns > [script] Too many dynamic script compilations within, max: [75/5m]; please use indexed, or scripts with parameters instead; this limit can be…
-2
votes
0 answers

Execute a graphql query using painless script, with params having hyphen and space and match a field property with type keyword and text

I'm new to graphql and opensearch queries. Here I'm trying to add a filter to existing query for city, my params inside the query are having data with - and spaces. While I'm trying to query it, data is getting filtered only with first word. For…
raj
  • 11
  • 4
1 2 3
32
33