-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove support for fielddata loading on _id
.
#64511
Comments
Pinging @elastic/es-search (:Search/Search) |
Pinging @elastic/es-analytics-geo (:Analytics/Aggregations) |
Before we remove support for this from Elasticsearch, let's also make sure that we address the outstanding Kibana issue (elastic/kibana#57181) where it is using aggregations against the _id field for autocomplete features (and anywhere in Kibana we may be using _id for sorting/aggregations/scripting). @alexfrancoeur @AlonaNadler |
The use case I have for fielddata on |
Pinging @elastic/es-analytical-engine (Team:Analytics) |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
In 7.6 we introduced a cluster setting to prevent fielddata loading on
_id
(#49166). In a future version, we'd like to go further and remove support for loading fielddata on_id
entirely.The reasoning:
_id
fielddata can use substantial heap memory, making it more complex to manage Elasticsearch. At the same time, it's uncommon to require fielddata on_id
:_id
is to achieve a consistent order insearch_after
requests. We plan to introduce a dedicated way to tiebreak in point-in-time searches that does not require_id
(Virtual Sort field for automatic tie-breaking #56828)._id
.The text was updated successfully, but these errors were encountered: