Skip to content
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

Change the recommended tie-breaking fields from [_id] to [_seq_no, _shard]. #25797

Closed
wants to merge 2 commits into from

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Jul 19, 2017

_id requires fielddata to be loaded into memory for sorting, which does not
scale on large clusters. Adding doc values to the _id field proved
controversial so instead, we are removing use-cases for fieddata on the _uid
or _id fields.

Relates #25240

…, `_shard`].

`_id` requires fielddata to be loaded into memory for sorting, which does not
scale on large clusters. Adding doc values to the `_id` field proved
controversial so instead, we are removing use-cases for fieddata on the `_uid`
or `_id` fields.

Relates elastic#25240
@jpountz jpountz added :Search Foundations/Mapping Index mappings, including merging and defining field types >enhancement labels Jul 19, 2017
@jpountz jpountz requested a review from jimczi July 19, 2017 16:33
@jpountz
Copy link
Contributor Author

jpountz commented Jul 28, 2017

Discussed in FixitFriday: we'd rather implement #25674 and tie break on _doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant