-
Notifications
You must be signed in to change notification settings - Fork 23
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 specify field type #16
Comments
Actually looking at ElasticSearchMappingFactory#L197 I have found out that if converter is string representing elasticsearch type, it is interpreted as type. Like this:
This is undocumented and quite confusing. |
+1. I have an 'Address' domain with the 'country' property as a String which gets mapped as 'text'. So the only way I can get aggregations on Elastic is by changing it to an enum to get the 'keyword' type. |
It would be great if it was possible to explicitly specify elasticsearch type for the field.
Something like this:
The text was updated successfully, but these errors were encountered: