Line 2:
Line 2:
<big>⚠️</big> <big>'''DEPRECATED:'''</big> refer to [https://github.com/openfoodfacts/openfoodfacts-server/blob/main/conf/mongodb/create_indexes.js openfoodfacts-server /conf/mongodb/create_indexes.js] instead
<big>⚠️</big> <big>'''DEPRECATED:'''</big> refer to [https://github.com/openfoodfacts/openfoodfacts-server/blob/main/conf/mongodb/create_indexes.js openfoodfacts-server /conf/mongodb/create_indexes.js] instead
−
+
https://github.com/openfoodfacts/openfoodfacts-server/blob/main/scripts/create_mongodb_indexes.pl
Note: the current indexes are probably not the best indexes, they are used on the current Open Food Facts production server and are thus "good enough", but they certainly can - and should - be improved.
Note: the current indexes are probably not the best indexes, they are used on the current Open Food Facts production server and are thus "good enough", but they certainly can - and should - be improved.