c# - Resolving manual references on a large MongoDB document -


What would be the best strategy to solve manual references in large (millions of records) mongodb documents?

<

  db.test.insert ({_ id :: ObjectId ( '5447e59575a404a81e34df01'), named p> ​​I mostly denormalized document but such manual references in this example use containing some generalized areas: 'Hockey', teamSport: true}) db.test.insert ({_ id: ObjectId ( '5446648ea1851287e7090c25'), name: 'Reading'}) db.test.insert ({_ id : ObjectId ('5447e59575a404a81e34df0a', name: 'charisma'}) db.test.insert ({_id: ObjectId ('5447e59575a404a81e34df02'), Name: 'Alfred', Hobbies: [Object ID ('5447e59575a404a81e34df01'), Object ID (' 5446648ea1851287e7090c25 ')]}} db.test .Insert ({_ id: ObjectId (' 5447e59575a404a81e34df07 '), Name: Boris "Hobbies: [ObjectId ( '5446648ea1851287e7090c25')]}) db.test.insert ({_ id: ObjectId ( '5447e5b175a404a81e34fa66'), the name 'Chang', hobby: [Objektaidi ( 'EEA 5,446,648 1,851,287 A 7090 C25 '), Objektaidi (' 544 7e59575a404a81e34df0a ')]})  

the data are up I see people in mind, who want to search for team practice game and should result' Alfred ' .

I'm considering any query in each intermediate stage (in this case the query, Objektaidiaidi records where Timsport of "temporary" tables to store the projection of results is true) to construct.

Is there a better way of using manual operators or using C # drivers to solve manual references in a larger document?


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -