-
Notifications
You must be signed in to change notification settings - Fork 243
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
HSEARCH-1242 #373
HSEARCH-1242 #373
Conversation
/** | ||
* Prefix used to generate field names for a default {@link Spatial} annotation | ||
*/ | ||
public static final String COORDINATES_DEFAULT_FIELD = "_hibernate_default_coordinates"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we not use something along the lines: __HSearch_Default_Coordinates to align with the names we have in ProjectionConstants?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean for the constant field name or it's value?
But you can't project this as it's just a prefix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The field name. I know you cannot project on it, but I think it would be nice if generate field names are somehow aligned. Looks nicer and is more consistent when I look at the index/docment
@hferentschik re-pushed |
/** | ||
* @experimental This API might change in minor versions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
https://hibernate.onjira.com/browse/HSEARCH-1242
This is about simplifying usage of the @spatial annotation for those cases in which the Coordinates name is not specified.
Not much changed in the docs yet as there is a specific issue for that.