public QueryBuilder<FacetQuery> field(String field) {
return new QueryBuilder<FacetQuery>(this, field);
}
public FacetQuery near(String text, int meters) {
Coord coord = new DataScienceToolkit().streetToCoord(text);
if (coord != null) {
return within(new Circle(coord, meters));
} else {
throw new FactualApiException(
"Could not locate place based on text: '" + text + "'");