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

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -