import java.util.Map;</BUG>
import org.apache.log4j.Logger;
import org.elasticsearch.action.search.SearchRequestBuilder;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.client.Client;
<BUG>import org.elasticsearch.common.base.Strings;
import org.elasticsearch.index.query.BoolFilterBuilder;</BUG>
import org.elasticsearch.index.query.BoolQueryBuilder;
<BUG>import org.elasticsearch.index.query.FilterBuilder;

import org.elasticsearch.index.query.FilterBuilders;</BUG>
import org.elasticsearch.index.query.PrefixQueryBuilder;

package uk.co.eelpieconsulting.osm.nominatim.elasticsearch;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Strings;
import com.google.common.collect.Lists;
import org.apache.log4j.Logger;
import org.elasticsearch.action.search.SearchRequestBuilder;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.client.Client;
import org.elasticsearch.index.query.BoolQueryBuilder;
import org.elasticsearch.index.query.GeoDistanceQueryBuilder;
import org.elasticsearch.index.query.PrefixQueryBuilder;
