Re: SOLR Geospatial Queries

2015-11-12 Thread Tommaso Teofili
Hi Mario, This depends a bit on how your geodata is stored within your repository, however, assuming you have geographic coordinates in a property named "geo", you will need to setup the Solr schema with a dedicated field named "geo" whose fieldType is LatLonType [1]. Then, assuming you have the

SOLR Geospatial Queries

2015-11-06 Thread Mario Rodriguez
hi there, Just have a question regarding the best way to execute a JCR SQL2 Solr query for a geospatial query. I have seen that there is an implementation for spatialj (https://issues.apache.org/jira/browse/OAK-2048). Is there an example that somebody can contribute, it would be great.