integer
short
1 parent ad7475d commit b56929eCopy full SHA for b56929e
2 files changed
src/olympia/addons/indexers.py
@@ -489,7 +489,8 @@ def get_mapping(cls):
489
'ratings': {
490
'type': 'object',
491
'properties': {
492
- 'count': {'type': 'short', 'index': False},
+ 'count': {'type': 'integer', 'index': False},
493
+ 'text_count': {'type': 'integer', 'index': False},
494
'average': {'type': 'float'},
495
},
496
src/olympia/amo/fixtures/base/addon_3615.json
@@ -168,7 +168,7 @@
168
"icon_type": "image/png",
169
"modified": "2010-05-28 09:01:57",
170
"summary": 15004,
171
- "total_ratings": 413
+ "total_ratings": 32768
172
}
173
174
{
0 commit comments