Hello all, i am new to elasticsearch, i am trying to add a new field(runtime field) by UpdateByQueryAsync
in my index(it already created), i did some research and i saw that we can add a new fiel by this syntax :
var updateByQueryResponse = await client.UpdateByQueryAsync<Document>(u => u
.Query(q => q.MatchAll())
.Script("ctx._source.isActive = true")
.Refresh());
but in this case isActive will be indexed and for my case i want it to be an runtime field any suggestions please