github
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/sqlite-utils/issues/192#issuecomment-721420907 | https://api.github.com/repos/simonw/sqlite-utils/issues/192 | 721420907 | MDEyOklzc3VlQ29tbWVudDcyMTQyMDkwNw== | 9599 | 2020-11-03T23:07:01Z | 2020-11-03T23:07:01Z | OWNER | I could depend on my `sqlite-fts4` library to solve this: https://github.com/simonw/sqlite-fts4 Or I could say that only `FTS5` is supported for ranked searches - but still support `.search()` against FTS4 just without the option to sort by relevance. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
735532751 | |
https://github.com/simonw/sqlite-utils/issues/192#issuecomment-721420539 | https://api.github.com/repos/simonw/sqlite-utils/issues/192 | 721420539 | MDEyOklzc3VlQ29tbWVudDcyMTQyMDUzOQ== | 9599 | 2020-11-03T23:05:53Z | 2020-11-03T23:05:53Z | OWNER | Just realized there's a problem with the SQL I am using here: joining to get `rank` in this way only works against FTS5 tables, it doesn't work against FTS4. https://github.com/simonw/sqlite-utils/blob/c8a900df59efd34f394c863c0adff9912f1bf1d7/sqlite_utils/db.py#L1303-L1319 | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
735532751 | |
https://github.com/simonw/sqlite-utils/pull/195#issuecomment-721397665 | https://api.github.com/repos/simonw/sqlite-utils/issues/195 | 721397665 | MDEyOklzc3VlQ29tbWVudDcyMTM5NzY2NQ== | 9599 | 2020-11-03T22:02:57Z | 2020-11-03T22:02:57Z | OWNER | Documentation so far: https://github.com/simonw/sqlite-utils/blob/6cadc6103ff1ba58c6409ce7fba74259e72965d9/docs/cli.rst#executing-searches | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
735663855 | |
https://github.com/simonw/sqlite-utils/issues/192#issuecomment-721319602 | https://api.github.com/repos/simonw/sqlite-utils/issues/192 | 721319602 | MDEyOklzc3VlQ29tbWVudDcyMTMxOTYwMg== | 9599 | 2020-11-03T19:05:05Z | 2020-11-03T19:05:05Z | OWNER | Relevant example using a SQLite CTE: https://github.com/simonw/datasette/issues/268#issuecomment-675725464 CTEs were added in SQLite 3.8.3 in 2014-02-03 so they should be safe to use. If someone tries to run `sqlite-utils search` no an older version of SQLite they'll get an error, which I think is OK. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
735532751 |