@@ -79,12 +79,12 @@ The query also includes a:
79
79
}
80
80
}
81
81
},
82
- { $limit: 10 },
82
+ { " $limit" : 10 },
83
83
{
84
- $project: {
84
+ " $project" : {
85
85
"_id": 0,
86
86
"title": 1,
87
- score: { $meta: "searchScore" }
87
+ " score" : { " $meta" : "searchScore" }
88
88
}
89
89
}
90
90
])
@@ -96,18 +96,16 @@ The query also includes a:
96
96
:language: none
97
97
:visible: false
98
98
99
- [
100
- { title: 'New York, New York', score: 6.786321640014648 }
101
- { title: 'New York', score: 6.258549213409424 }
102
- { title: 'New York Stories', score: 5.3813982009887695 }
103
- { title: 'New York Minute', score: 5.3813982009887695 }
104
- { title: 'Synecdoche, New York', score: 5.3813982009887695 }
105
- { title: 'New York Doll', score: 5.3813982009887695 }
106
- { title: 'Little New York', score: 5.3813982009887695 }
107
- { title: 'Escape from New York', score: 4.719893455505371 }
108
- { title: 'Naked in New York', score: 4.719893455505371 }
109
- { title: 'Autumn in New York', score: 4.719893455505371 }
110
- ]
99
+ { title: 'New York, New York', score: 6.786321640014648 }
100
+ { title: 'New York', score: 6.258549213409424 }
101
+ { title: 'New York Stories', score: 5.3813982009887695 }
102
+ { title: 'New York Minute', score: 5.3813982009887695 }
103
+ { title: 'Synecdoche, New York', score: 5.3813982009887695 }
104
+ { title: 'New York Doll', score: 5.3813982009887695 }
105
+ { title: 'Little New York', score: 5.3813982009887695 }
106
+ { title: 'Escape from New York', score: 4.719893455505371 }
107
+ { title: 'Naked in New York', score: 4.719893455505371 }
108
+ { title: 'Autumn in New York', score: 4.719893455505371 }
111
109
112
110
Next Steps
113
111
----------
0 commit comments