Beispiel #1
0
 /// <summary>
 /// Adds a filter so that results can only be (roughly) within the specified
 /// geographic circle.
 /// </summary>
 /// <param name="circle">The circle within which to bound the results.</param>
 /// <returns>this Query.</returns>
 public Query WithIn(Circle circle)
 {
     Add(circle.GetFilter());
     return this;
 }
 /// <summary>
 /// Adds a filter so that results can only be (roughly) within the specified
 /// geographic circle.
 /// </summary>
 /// <param name="circle">The circle within which to bound the results.</param>
 /// <returns>FacetQuery</returns>
 public FacetQuery Within(Circle circle)
 {
     Add(circle.GetFilter());
     return this;
 }