[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-1130) Support @Spatial without depending on the Coordinates class

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed May 16 11:38:12 EDT 2012


Support @Spatial without depending on the Coordinates class
-----------------------------------------------------------

                 Key: HSEARCH-1130
                 URL: https://hibernate.onjira.com/browse/HSEARCH-1130
             Project: Hibernate Search
          Issue Type: New Feature
          Components: query
            Reporter: Emmanuel Bernard
            Assignee: Nicolas Helleringer


Today, entities must depend on Coordinates (implementing or via a property returning Coordinates). 

We can imagine the following

{code}
@Spatial(name=home")
class User {
    @Latitude(for="home")
    Double homeLatitude;

    @Longitude(for="home")
    Double homeLongitude;
}

Note that we will need to support @Spatials as well in this case (check AbstractDocumentBuilder initializeMemberLevelAnnotations() and checkForFields() as we will need a checkForSpatials()

This feature can wait for after the main spatial pull request


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list