diff --git a/src/olympia/addons/indexers.py b/src/olympia/addons/indexers.py index bfbf7d375034..69ad393c8a1f 100644 --- a/src/olympia/addons/indexers.py +++ b/src/olympia/addons/indexers.py @@ -489,7 +489,8 @@ def get_mapping(cls): 'ratings': { 'type': 'object', 'properties': { - 'count': {'type': 'short', 'index': False}, + 'count': {'type': 'integer', 'index': False}, + 'text_count': {'type': 'integer', 'index': False}, 'average': {'type': 'float'}, }, }, diff --git a/src/olympia/amo/fixtures/base/addon_3615.json b/src/olympia/amo/fixtures/base/addon_3615.json index 47b1efc51ee0..47271729dfc6 100644 --- a/src/olympia/amo/fixtures/base/addon_3615.json +++ b/src/olympia/amo/fixtures/base/addon_3615.json @@ -168,7 +168,7 @@ "icon_type": "image/png", "modified": "2010-05-28 09:01:57", "summary": 15004, - "total_ratings": 413 + "total_ratings": 32768 } }, {