private PrefixQueryBuilder startsWith(String q) {
return prefixQuery(ADDRESS, q.toLowerCase());
}
private BoolQueryBuilder taggedAsCountry() {
QueryBuilder isCountry = termQuery(TAGS, "place|country");
<BUG>BoolQueryBuilder isRequiredType = boolQuery().minimumNumberShouldMatch(1).should(isCountry);

return isRequiredType;</BUG>
}
private BoolQueryBuilder taggedAsCountryCityTownSuburb() {

private PrefixQueryBuilder startsWith(String q) {
return prefixQuery(ADDRESS, q.toLowerCase());
}
private BoolQueryBuilder taggedAsCountry() {
QueryBuilder isCountry = termQuery(TAGS, "place|country");
return boolQuery().minimumNumberShouldMatch(1).should(isCountry);
}
private BoolQueryBuilder taggedAsCountryCityTownSuburb() {
