Skip to content

Commit

Permalink
fix: mongodb index for countries_tags + created_t #8168
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanegigandet committed Mar 7, 2023
1 parent ba458d7 commit 33c243b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conf/mongodb/create_indexes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
db.products.createIndex({additives_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({allergens_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({amino_acids_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({brands_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({categories_properties_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({categories_tags:1,"last_modified_t": -1}, { background: true });
Expand All @@ -9,9 +8,10 @@ db.products.createIndex({cities_tags:1,"last_modified_t": -1}, { background: tru
db.products.createIndex({code: 1}, { background: true });
db.products.createIndex({codes_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({correctors_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({countries_tags:1,"created_t": -1}, { background: true });
db.products.createIndex({countries_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({countries_tags:1,"popularity_key": -1}, { background: true });
db.products.createIndex({"created_t": -1}, { background: true });
db.products.createIndex({created_t: -1}, { background: true });
db.products.createIndex({creator:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({creator_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({data_quality_bugs_tags:1,"last_modified_t": -1}, { background: true });
Expand All @@ -37,7 +37,7 @@ db.products.createIndex({labels_tags:1,"last_modified_t": -1}, { background: tru
db.products.createIndex({languages_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({last_edit_dates_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({last_image_dates_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({"last_modified_t": -1}, { background: true });
db.products.createIndex({last_modified_t: -1}, { background: true });
db.products.createIndex({manufacturing_places_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({minerals_tags:1,"last_modified_t": -1}, { background: true });
db.products.createIndex({misc_tags:1,"last_modified_t": -1}, { background: true });
Expand Down

0 comments on commit 33c243b

Please sign in to comment.