{"html_url": "https://github.com/simonw/sqlite-utils/pull/195#issuecomment-721397665", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/195", "id": 721397665, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMTM5NzY2NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-03T22:02:57Z", "updated_at": "2020-11-03T22:02:57Z", "author_association": "OWNER", "body": "Documentation so far: https://github.com/simonw/sqlite-utils/blob/6cadc6103ff1ba58c6409ce7fba74259e72965d9/docs/cli.rst#executing-searches", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 735663855, "label": "table.search() improvements plus sqlite-utils search command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/192#issuecomment-721319602", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/192", "id": 721319602, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMTMxOTYwMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-03T19:05:05Z", "updated_at": "2020-11-03T19:05:05Z", "author_association": "OWNER", "body": "Relevant example using a SQLite CTE: https://github.com/simonw/datasette/issues/268#issuecomment-675725464\r\n\r\nCTEs 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.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 735532751, "label": "sqlite-utils search command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/192#issuecomment-721420539", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/192", "id": 721420539, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMTQyMDUzOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-03T23:05:53Z", "updated_at": "2020-11-03T23:05:53Z", "author_association": "OWNER", "body": "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.\r\n\r\n https://github.com/simonw/sqlite-utils/blob/c8a900df59efd34f394c863c0adff9912f1bf1d7/sqlite_utils/db.py#L1303-L1319", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 735532751, "label": "sqlite-utils search command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/192#issuecomment-721420907", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/192", "id": 721420907, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMTQyMDkwNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-03T23:07:01Z", "updated_at": "2020-11-03T23:07:01Z", "author_association": "OWNER", "body": "I could depend on my `sqlite-fts4` library to solve this: https://github.com/simonw/sqlite-fts4\r\n\r\nOr 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.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 735532751, "label": "sqlite-utils search command"}, "performed_via_github_app": null}