Exemplo n.º 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;
 }
Exemplo n.º 2
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>FacetQuery</returns>
 public FacetQuery Within(Circle circle)
 {
     Add(circle.GetFilter());
     return this;
 }