#4 - Conversione vecchi dati
This commit is contained in:
@@ -29,4 +29,12 @@ db.statistics.createIndex({"user.id":1})
|
||||
db.statistics.createIndex({"stat.type":1,"content.position":1})
|
||||
|
||||
|
||||
db.notizia.ensureIndex({"about.author": "text",sottotitolo: "text",testo: "text",titolo: "text"},{weights: {"about.author": 1,sottotitolo: 7,testo: 5,titolo: 10},name: "notiziaDetails"})
|
||||
db.notizia.ensureIndex({"about.author": "text",sottotitolo: "text",testo: "text",titolo: "text"},{weights: {"about.author": 1,sottotitolo: 7,testo: 5,titolo: 10},name: "notiziaDetails"})
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
db.article_stats.ensureIndex({ "notizia": 1, "time": 1, "deleted": 1 }, {name: "quick_upsert"})
|
||||
db.banner_stats.ensureIndex({ "banner": 1, "time": 1, "deleted": 1 }, {name: "quick_upsert"})
|
||||
db.pageview_stats.ensureIndex({ "deleted": 1, "time": 1, "page": 1 }, {name: "quick_upsert"})
|
||||
|
||||
Reference in New Issue
Block a user