private FilterContainer _GeoDistance(PropertyPathMarker field, Action <GeoDistanceFilterDescriptor> filterDescriptor) { var filter = new GeoDistanceFilterDescriptor(); if (filterDescriptor != null) { filterDescriptor(filter); } IGeoDistanceFilter ff = filter; ff.Field = field; return(this.New(filter, f => f.GeoDistance = filter)); }
public virtual void Visit(IGeoDistanceFilter filter) { Write("geo_distance"); }
public virtual void Visit(IGeoDistanceFilter customFiltersScore) { }