Top "Elasticsearch-painless" questions

Painless is a scripting language that is purpose-built for Elasticsearch.

elasticsearch-painless - Manipulate date

I am trying to manipulate date in elasticsearch's scripting language painless. Specifically, I am trying to add 4 hours, which is 14,400 …

elasticsearch elasticsearch-painless
Elasticsearch painless script error

I have no Java experience and I have an issue with elasticsearch painless script language. (the name painless it's not …

java elasticsearch elasticsearch-painless
Scripted field to count array length

I have the following document: { "likes": { "data": [ { "name": "a" }, { "name": "b" }, { "name": "c" } ] } } I'm trying to run an update_by_…

elasticsearch elasticsearch-painless
How to create and add nested object into nested field in Elasticsearch?

https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html Consider: PUT my_index { "mappings": { "_doc": { "properties": { "user": { "type": "…

elasticsearch elasticsearch-painless
Elasticsearch: comparing dates (painless script)

My mapping of createdAt: "createdAt": { "type": "date" }, I insert the dates like this: POST logs/_doc/_bulk?pretty {"index":{"_id":1}} {"…

java elasticsearch lucene kibana elasticsearch-painless