Skip to content

Commit

Permalink
Add distinct-responses-only
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Aug 25, 2024
1 parent 07e5d9b commit 83a2d86
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 83a2d86

Please sign in to comment.