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

HSEARCH-1242 #373

Merged
merged 4 commits into from
Jan 11, 2013
Merged

HSEARCH-1242 #373

merged 4 commits into from
Jan 11, 2013

Conversation

Sanne
Copy link
Member

@Sanne Sanne commented Jan 11, 2013

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.

/**
* Prefix used to generate field names for a default {@link Spatial} annotation
*/
public static final String COORDINATES_DEFAULT_FIELD = "_hibernate_default_coordinates";
Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link
Contributor

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

@Sanne
Copy link
Member Author

Sanne commented Jan 11, 2013

@hferentschik re-pushed

/**
* @experimental This API might change in minor versions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@hferentschik hferentschik merged commit 093ea34 into hibernate:master Jan 11, 2013
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

Successfully merging this pull request may close these issues.

2 participants