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

Enable doc_values for source and meta gl2_* fields #1335

Closed
kroepke opened this issue Aug 3, 2015 · 1 comment
Closed

Enable doc_values for source and meta gl2_* fields #1335

kroepke opened this issue Aug 3, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@kroepke
Copy link
Member

@kroepke kroepke commented Aug 3, 2015

To allow fielddata-friendly aggregations on these fields, we should enable doc_values in the default mapping, as we do for timestamp.

@kroepke kroepke added this to the 1.2.0 milestone Aug 3, 2015
@joschi
Copy link
Contributor

@joschi joschi commented Aug 5, 2015

Doc values can be enabled for[…] and for not_analyzed string fields.

Source: https://www.elastic.co/guide/en/elasticsearch/guide/current/doc-values.html#_enabling_doc_values

Since source should still be analyzed to enable wildcard searches, we cannot store it as a doc value.

@joschi joschi self-assigned this Aug 5, 2015
joschi pushed a commit that referenced this issue Aug 5, 2015
@bernd bernd closed this in #1342 Aug 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants