I wanted to configure automatic rollover for my index in a new Elastic Serverless deployment. From the docs, it looks like it should be managed automatically by the platform itself.
Is it true? What is the threshold?
I've tried to setup a index template, create an index with "is_write_index": true. When I try to call the Rollover API on the alias, I get "co.elastic.clients.elasticsearch._types.ElasticsearchException: [es/indices.rollover] failed: [illegal_argument_exception] rollover with conditions is not supported in serverless mode"
which seems to be confirming the automated behaviour.
Testing the same on a local elasticsearch instance works just fine.