diff --git a/server.py b/server.py index ad33cfd..876fdd0 100644 --- a/server.py +++ b/server.py @@ -134,12 +134,6 @@ def apply_extra(self, extras): 'size': 1000 } } - self.q['cards'].setdefault('aggs', {})['categories'] = { - 'terms': { - 'field': 'response_categories', - 'size': 20 - } - } self.extract_agg = True if x == 'did-you-mean': if 'cards' in self.q: