Re:Hctree is an experimental high-concurrency database back ...
by rcarmo on Thursday January 19, 2023 @02:08AM
(#34437535)
Django would need to be patched to do that, since the default SQLite provider would make it hard to do that cleanly.
Here’s the relevant Takahe issue: https://github.com/jointakahe/takahe/issues/325
Here's an example:
https://datasette.io/content/plugin_repos?_facet_array=tags&...
That page shows every row where the tags column (a SQLite JSON list of strings) contains the string "Data Import"
Here's the underlying SQL:
https://datasette.io/content?sql=select%0D%0A++rowid%2C%0D%0...
I haven't tried it yet, but I have a strong hunch that this could be dramatically accelerated using a join against a FTS table on that "tags" column in order to first filter the rows down to a likely subset.