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

Make _type use doc values #14783

Merged
merged 1 commit into from
Nov 16, 2015
Merged

Make _type use doc values #14783

merged 1 commit into from
Nov 16, 2015

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Nov 16, 2015

_type should have got doc values with the change to default doc values.
However, due to how metadata fields have separate builders and special
constructors, it was not picking it up. This change updates the field
type for _type to have doc values.

closes #14781

_type should have got doc values with the change to default doc values.
However, due to how metadata fields have separate builders and special
constructors, it was not picking it up. This change updates the field
type for _type to have doc values.

closes elastic#14781
@rjernst rjernst added :Search Foundations/Mapping Index mappings, including merging and defining field types v2.1.0 v5.0.0-alpha1 labels Nov 16, 2015
@jpountz
Copy link
Contributor

jpountz commented Nov 16, 2015

LGTM. This will also help index sorting on _type once implemented :)

rjernst added a commit that referenced this pull request Nov 16, 2015
@rjernst rjernst merged commit 4975422 into elastic:master Nov 16, 2015
rjernst added a commit that referenced this pull request Nov 16, 2015
rjernst added a commit that referenced this pull request Nov 16, 2015
@rmuir
Copy link
Contributor

rmuir commented Nov 16, 2015

What type of docvalues is it? I dont see it explicit. Can we ensure it is SORTED not SORTED_SET and not BINARY?

@rjernst rjernst deleted the type_doc_values branch November 17, 2015 00:38
@rjernst
Copy link
Member Author

rjernst commented Nov 17, 2015

Looks like it is SORTED_SET at the moment (already was in 1.x when it was enabled). I will create a new PR to change it to SORTED.

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

Successfully merging this pull request may close these issues.

_type not using doc_values in ES 2.0
4 participants