@@ -79,12 +79,12 @@ The query also includes a:
7979 }
8080 }
8181 },
82- { $limit: 10 },
82+ { " $limit" : 10 },
8383 {
84- $project: {
84+ " $project" : {
8585 "_id": 0,
8686 "title": 1,
87- score: { $meta: "searchScore" }
87+ " score" : { " $meta" : "searchScore" }
8888 }
8989 }
9090 ])
@@ -96,18 +96,16 @@ The query also includes a:
9696 :language: none
9797 :visible: false
9898
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 }
111109
112110Next Steps
113111----------
0 commit comments