def get_field_values(self, name, maxvalues=-1, sort=True, **query_dict):
        param_dict = query_dict.copy()
        param_dict.update(
            {
                'rows': '0',
                'facet': 'true',
                'facet.field': name,
                'facet.limit': str(maxvalues),
                'facet.zeros': 'false',
                'facet.sort': str(sort).lower(),
            }
        )
        resp_dict = self._post_query(**param_dict)
        result_dict = resp_dict['facet_counts']['facet_fields']
        result_dict['numFound'] = resp_dict['response']['numFound']
        return result_dict