Issue Type: Bug Bug
Affects Versions: 4.2.0.Final
Assignee: Unassigned
Attachments: HibernateSearchTest.rar
Components: spatial
Created: 28/Jan/13 7:23 AM
Description:

When reading through the document
http://docs.jboss.org/hibernate/search/4.2/reference/en-US/html/spatial.html
under 9.1.2. Indexing coordinates in a Grid with Quad Trees, the document described that "add the @Latitude and @Longitude annotations on the properties representing your coordinates; "
However during practice, I have to use "9.1.3. Implementing the Coordinates interface".

Since I have to use @Latitude(of="location") as well, therefore I ended up need to mix 9.1.2 and 9.1.3.

Here is my code:

public Double getLat() { return lat; }

public void setLat(Double lat) { this.lat = lat; }

@Override
public Double getLatitude() { return lat; }

@Override
public Double getLongitude() { return lon; }

I wonder is this a feature or a bug in the document that it doesn't describe the implementation correctly, or it is something that I 've completely misunderstood ?

Attached is my sample project again.
Thank you for anyone whom look into this issue.

Thanks a lot
Sam

Environment: JBoss 7.1.1.Final.
Project: Hibernate Search
Labels: search
Priority: Major Major
Reporter: Samuel
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira