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

Ability to map @Id property to a field in the index (other than _id) #23

Open
rbygrave opened this issue Feb 8, 2017 · 0 comments
Open
Assignees

Comments

@rbygrave
Copy link
Member

rbygrave commented Feb 8, 2017

So currently the @id property is automatically mapped to _id in ElasticSearch. The issue there is that _id is always treated as a string type and can't be used in order by clauses etc.

What we want is a nice simple way to define that the @id property should additionally be made an explicit field in the index (and if it is numeric it should be indexed as numeric etc).

@rbygrave rbygrave self-assigned this Feb 8, 2017
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