How to make _id available for aggs?

Upon indexing I overwrote _id with my own unique _id field filled with integers.

How can I aggregate something like max on my _id field?
max_id: { max: { field: "_id" } }

This only throws an error.

Currently I am using python's Elasticsearch to populate my index. Is there a setting I can put on creating the index like indices.put_settings(...) ?

Also I was wondering if there is a put_setting or something like that to set the ignore_above setting globablly for every field?

Thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.