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

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


     [ https://hibernate.onjira.com/browse/HSEARCH-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard updated HSEARCH-1130:
--------------------------------------

    Description: 
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;
}
{code}

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


  was:
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



> 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;
> }
> {code}
> 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