javascript - How can I search in a big data collection on server side without publishing everything in meteor -
i'm newbie meteor. need build text search system typeahead-like feature using meteor js. collection on server side has 1 million words, it's impossible publish them (my page take forever load i'm assuming collection large sync takes forever). however, each time, system needs search within whole collection. has suggestions how this? lot
this server logic. have calculate stuff server method:
meteor.methods({'mygreattextsearch': (someparameters) => { // text aggregation here return stuff })
you can 'stuff' on client with
meteor.call('mygreattextsearch', someparameters)
Comments
Post a Comment