-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add search #19
Comments
So right now, posts are stored in the fs for reliability reasons. However, since mongo can't index them, it makes it a pain in the neck to do searching. The way I see it, we have three options
Thoughts? |
Shouldn't it be the other way around? |
@zwade we should revisit this, particularly since you're already doing a bunch of post restructuring anyway. |
Yeah, it might not be a terrible idea to move posts into the database. I still kinda prefer the idea of a hard copy (in a cash-under-the-mattress sort of way), but I think the benefits of a transition outway the potential risk |
With that in mind though, it would be easier to do that before dealing with slugs and stuff, so I may push the guid version first, and have slugs in a different PR. |
This should be relatively straightforward using mongo's built-in text score once #106 goes through. However, we'll probably also want to add in extra relevance weight for tags, title, and author name. |
As discussed in #18.
The text was updated successfully, but these errors were encountered: