예제 #1
0
def get_total_owner_count():
	search_query =  get_owner_count_query()
	es = ElasticSearchController()
	response_data = es.get_aggregated_data(["property"], search_query)
	return response_data.get("owner_count", {}).get("value", 0.0)
def get_total_owner_count():
	search_query =  get_owner_count_query()
	es = ElasticSearchController()
	response_data = es.get_aggregated_data(["property"], search_query)
	return response_data.get("owner_count", {}).get("value", 0.0)