basho / riak-dotnet-client

The Riak client for .NET
Apache License 2.0
76 stars 36 forks source link

GeoFilt Support #286

Open apideveloper opened 9 years ago

apideveloper commented 9 years ago

I'm unable to find GeoFilt options in the Search Filters. Is it supported?

https://cwiki.apache.org/confluence/display/solr/Spatial+Search

apideveloper commented 9 years ago

We found a way to workaround this.

var riakFluentSearch = new RiakFluentSearch("CatalogItems","Name").Search("Intro").Build();

var riakSearchRequest = new RiakSearchRequest("CatalogItems", riakFluentSearch.ToString(),                 "{!geofilt pt=40.89,-86.05 sfield=LatLon d=80}'");