That need to get the .within implemented at spatial() level and its a bit too tricky for me I fear :s
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
Updated with handling of default naming for @Spatial
I would like some help for the corresponding DSL change to avoid :
org.apache.lucene.search.Query luceneQuery2 = builder.spatial().onCoordinates( UserRange.class.getName() )
.within( 51, Unit.KM ).ofLatitude( centerLatitude ).andLongitude( centerLongitude ).createQuery();
That need to get the .within implemented at spatial() level and its a bit too tricky for me I fear :s