14
votes
Will search ever be implemented in tildes?
Reddit never really got it right.
Wondering if tildes, from the start, has search function in mind and designed around it or it will simply borrow google search.
Reddit never really got it right.
Wondering if tildes, from the start, has search function in mind and designed around it or it will simply borrow google search.
Keep in mind that the Tildes source code will be open sourced fairly soon. I can guarantee you that if Deimos doesn't implement it, someone else will. It'll have to get through code review, of course, but don't think for a moment that a search feature wouldn't make its way into a pull request :)
I read through the docs and I still don't get how open source work. Will the backend code be open sourced as well? What about db structure? If db is not open sourced (which is totally understandable), then how can outside contributors design indexing and optimization for the search?
Yes, all of that will be open-sourced too. People wouldn't be able to set up their own local development version without all of that.
Deimos has been writing up some documentation that needs to be finished before the source code is released. Odds are that this documentation will contain certain information about this, as well as containing information regarding procedures for e.g. requesting new indexes for search optimization.
For now, we'll just have to be patient and see what ends up happening.
I'm using Alembic for database migrations, so a change that requires a database modification (including index changes) will just need to include an Alembic script to make the necessary change.
Ah, that looks a lot like something my boss told me about when he was working with relational databases years ago, writing scripts that have both an upgrade procedure as well as a rollback procedure to ensure smoother updates. Neat!
Psst. Deimos just replied to me as well regarding the indexing issue ;)
Yes, it will. See here.