Closed mohsalsaleem closed 9 years ago
This matteodem/meteor-easy-search
package might be an interesting solution for all pagination and searching functionalities in this project.
Are there any better approaches available? What about a MongoDB full text search like it's implemented for searching for posts?
How about search source by Meteor hacks ?
If I'm not mistaken, search source is using MongoDB regular expression queries for text search which is not an ideal solution in terms of performance.
About the easy search, you can actually use MongoDB full text search in it by selecting the MongoTextIndex engine. I think easy search is more of a full solution that covers not only the text search, but also functionalities like blaze components, paginations and autosuggest. Well, all these stuffs can be done manually even without easy search so I guess the choice depends on whether you want to rely on a third party package or do all the piping yourself.
IMHO I think the less third party packages, the better. But I have no experience with easysearch so far. Perhaps it's a good solution we can use everywhere.
I think I'm agree with you here, it's bad to have too much dependency on third party packages.
Yeah.. I agree. I'll try implementing MongoDB full text search.
Mohamed Saleem. H On Nov 18, 2015 1:10 PM, "NgoChenBang" notifications@github.com wrote:
I think I'm agree with you here, it's bad to have too much dependency on third party packages.
— Reply to this email directly or view it on GitHub https://github.com/GravityProject/gravity/pull/60#issuecomment-157633491 .
Great! I've implemented something similar with posts. Here's the commit @mohsalsaleem 77eb4cabfd0b1b35da22cbe01620b01d2e96ce4a
A search page with search functionality which can search for users with their. This page can replace the browse users page.