def METHOD_NAME(self, request, format=None):
    search_text, country, state = prepare_search_terms(request.data)
    scope = "recipient_location" if request.data["filter"]["scope"] == "recipient_location" else "pop"
    limit = request.data["limit"]
    return_fields = ["{}_city_name".format(scope), "{}_state_code".format(scope), "{}_country_code".format(scope)]
    query = create_elasticsearch_query(return_fields, scope, search_text, country, state, limit)
    sorted_results = query_elasticsearch(query)
    response = OrderedDict([("count", len(sorted_results)), ("results", sorted_results[:limit])])
    return Response(response)