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

Why track mapping with generics? #82

Open
KodrAus opened this issue Jul 2, 2017 · 0 comments
Open

Why track mapping with generics? #82

KodrAus opened this issue Jul 2, 2017 · 0 comments

Comments

@KodrAus
Copy link
Member

KodrAus commented Jul 2, 2017

I think it's worth calling out why this library is built the way it is. The main goal of keeping mapping on fields is so that in the future they could be used to help construct strongly-typed query DSL queries. That's not an immediate goal of elastic, but by tracking types as traits with generic mapping, we can thread things like formats through to range queries to make sure date expressions are formatted properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant