title: RavenDB SpatialSearch SpatialGenerate IgnoredLuceueField
body: <p>I'm having some trouble generating a SpatialIndex. </p>
  
  <p>I want to get the closest event from a given location. </p>
  
  <p> When I query my Coordinates has the value IgnoredLuceueField I think they mean LuceneField but it says Luceue so it's not a typo from me. </p>
  
  <p>I have the folowing index</p>
  
  <pre><code> public class ClosestEvent : AbstractIndexCreationTask&lt;Event,ClosestEvent.ReduceResult&gt;
  {
      public ClosestEvent()
      {
          Map = events=&gt; from myEvent in events
              select new
              {
                  Id = myEvent .Id.ToString(),
                  Coordinates = SpatialGenerate("Coordinates",myEvent.eventLocation.Latitude, myEvent.eventLocation.Longitude)
  
              };
          Reduce = results =&gt; from result in results
                              group result by result.Id
                                  into g
                                  select new ReduceResult
                                  {
                                     Coordinates = g.Select(x=&gt;x.Coordinates).First(),
                                      Id = g.Key
                                  };
      }
  
      public class ReduceResult
      {
          public string Id { get; set; }
          public object Coordinates { get; set; }
      }
  }
  </code></pre>
  
  <p>And I have the following query for this:</p>
  
  <pre><code>       public ClosestEvent.ReduceResult GetClosestEvent(GeolocationFilter filter)
      {
  
          using (var session = Store.OpenSession())
          {
              var query = session.Query&lt;ClosestEvent.ReduceResult, ClosestEvent&gt;().Customize(x =&gt; x.SortByDistance(
                  lat: filter.lat,
                  lng: filter.lng,
                  fieldName: "Coordinates"
                  )).Take(1).ToList();
  
              return query.First();
  
          }
      }
  </code></pre>
  
  <p>This returns:</p>
  
  <p>Id : a Guid as string</p>
  
  <p><p>Coordinates: "IgnoredLuceueField"</p>
  
  <p>Additional information: my database is hosted  by ravenHQ</p>