コード例 #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)
コード例 #2
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)