aggiunta funzione di ricerca nelle tabelle

This commit is contained in:
Riccardo Di Dato
2016-03-11 14:21:38 +01:00
parent c16f2d9a31
commit 14261bb9d6
5 changed files with 20 additions and 4 deletions
+3
View File
@@ -8,3 +8,6 @@ db.runCommand({
textSearchEnabled: 1
});
INDEX DA CREARE
db.notizia.ensureIndex({"about.author":"text",titolo:"text",sottotitolo:"text",testo:"text"})