Permalink
Browse files

fixing index reference

  • Loading branch information...
1 parent 8aa7cec commit 1ed7ca8edddeab6ccdf6e9ef2d2fb88c1b43489a @ayende ayende committed Apr 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 code-samples/Consumer/Spatial.cs
View
2 code-samples/Consumer/Spatial.cs
@@ -34,7 +34,7 @@ public void BasicSpatialSearch()
{
#region spatial2
var matchingResturants =
- session.Advanced.LuceneQuery<Restaurant>("Restaurants/ByRatingAndLocaton")
+ session.Advanced.LuceneQuery<Restaurant>("Restaurants/ByRatingAndLocation")
.WhereGreaterThanOrEqual("Rating", 4)
.WithinRadiusOf(radius: 5, latitude: 38.9103000, longitude: -77.3942)
.ToList();

0 comments on commit 1ed7ca8

Please sign in to comment.