14
votes
Topic search
Are there any plans on implementing a search function? Reddit's search is pretty awful, so I think a lot of people would be interested in how Tilde plans to implement it.
Are there any plans on implementing a search function? Reddit's search is pretty awful, so I think a lot of people would be interested in how Tilde plans to implement it.
Yes, there will be search. I'll probably have to get it going sooner than I expected, activity is going up fast.
Tags will help a lot for making search work better than it does on reddit, as well as the potential to add additional metadata and similar things that are planned for the future.
What's the database? PGSQL has cheap built-in search that's surprisingly good.
It's postgresql 10, so that's exactly what I'm planning to use initially (which will probably be more than enough for quite a while). It's not something that I have much experience with though, so do you know of any particularly good articles or anything that I should look at (outside of postgresql's documentation, which is always quite good on its own)?
I'm guessing you are using SQLAlchemy? This might be useful.
Thank you, that definitely looks like it could be useful. I made a note to look into it when I get back to working on search.
Nope. I've only implemented it through Django so there was some abstraction. I don't know it at a low level. I just know it works way better than I ever expected.