Skip to content

Anybody having issues with bucket script aggregation? #165

@shpetimshala

Description

@shpetimshala

I'm trying to do a aggregation with bucket script which is working fine in elasticsearch 5.5 but not in elassandra.

https://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-aggregations-pipeline-bucket-script-aggregation.html

Error I'm receiving the moment I try something with bucket script is:

{
	"error": {
		"root_cause": [],
		"type": "search_phase_execution_exception",
		"reason": "",
		"phase": "fetch",
		"grouped": true,
		"failed_shards": [],
		"caused_by": {
			"type": "script_exception",
			"reason": "compile error",
			"script_stack": [],
			"script": "params.totalSales * 100",
			"lang": "painless",
			"caused_by": {
				"type": "runtime_exception",
				"reason": "java.lang.ClassNotFoundException: org.elasticsearch.painless.PainlessError"
			}
		}
	},
	"status": 503
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions