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

Could field value access be simplified? #24036

Closed
spalger opened this issue Apr 10, 2017 · 3 comments
Closed

Could field value access be simplified? #24036

spalger opened this issue Apr 10, 2017 · 3 comments
Labels
discuss :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch

Comments

@spalger
Copy link
Contributor

spalger commented Apr 10, 2017

Accessing fields that are outside of source is pretty complex right now. There are options like docvalue_fields, fieldata_fields, and stored_fields but using these options requires knowing and understand the mappings, along with several elasticsearch settings.

It's probably best that user's know how their data is indexed and that they request exactly what they want, but for applications it means we have to start pulling/comprehending mappings and settings to know what we should be requesting.

Any ideas that might simplify this?

@jpountz
Copy link
Contributor

jpountz commented Apr 11, 2017

To me this is the reason why we have _source. I think of docvalue_fields (formerly fielddata_fields) and stored_fields as expert options for the case that the overhead of _source is not worth the simplicity it brings. Unfortunately, that indeed requires a closer relationship between the client application and mappings.

@spinscale spinscale added :Search Foundations/Mapping Index mappings, including merging and defining field types discuss labels Apr 11, 2017
@jpountz
Copy link
Contributor

jpountz commented Mar 14, 2018

It's been almost one year without update so I'll close this issue since we couldn't come up with suggestions how to make things simpler. Let's reopen if we get ideas that could help.

@jpountz jpountz closed this as completed Mar 14, 2018
@javanna
Copy link
Member

javanna commented Mar 27, 2020

This sounds a lot like #49028 where we are reconsidering this same problem.

@javanna javanna added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch
Projects
None yet
Development

No branches or pull requests

4 participants