Lucene.Net Spatial
We're currently taking advantage of the built-in Lucene search engine in Sitefinity 5.3 for text searches on custom modules. I'd like to extend it to use Lucene.Net Spatial to handle radius searches based on lat/lngs. Has anyone attempted this? What techniques are devs using for location radius searches? We've implemented it at the SQL Server level in the past with stored procs, but I'm hoping to leverage the high performance of Lucene.
Hi,
As far as I examined spatial search is based on coordianates comming from a source(database table or something else with the available information) and this being passed to lucene. To integrate this in sitefinity search and perform spatial searches the spatial data have to be integrated with sitefinity search. This is done by creating a custom search pipe that will query the datasource with spatial information and return search results.
Here is a blog post with a sample how to create custom search pipes and register them in sitefintiy.
and the related documentation about sitefinity publishing pipes. Creating new search pipe will appear as search index option in Administration->Search.
Regards,
Stanislav Velikov
the Telerik team