- `search_string` field is removed
- text search vector for `content` and `torrent_contents` is generated in code with improvements in normalisation and tokenisation
- the slow `LIKE` query is removed from text search
- a query DSL is implemented which translates the input search string to a Postgres tsquery
- a CLI command (`reindex`) is provided for updating the tsv for pre-existing records
- the unused `tsv` and `search_string` fields are removed from the `torrents` table
See https://github.com/bitmagnet-io/bitmagnet/issues/89
Fix https://github.com/bitmagnet-io/bitmagnet/issues/85
- Accurate counts in the web UI will only be shown for the top-level filters; when deep-filtering, the counts will show a less than or equal sign: `≤`, indicating the number is a "maximum possible" rather than an accurate count; I'm still not sure about the UX aspect of showing the `≤` which could be confusing if you're not sure what it means, but I figured it's better than showing nothing at all - open to suggestions!
- A background process keeps the in-memory query cache warm for the top-level aggregations (by default every 10 minutes), allowing them to be served instantly
- The query cache TTL has been increased to 20 minutes; improved performance is preferable to seeing the most up-to-date information
- Pagination has been refactored to account for not knowing the total number of pages; internally the search engine will request 1 more item than it needs to know if there's a next page to advance to
- Some general refactoring of the web app
- Add a stable bloom filter, stored in the database, for blocked and deleted torrents
- Add GraphQL mutations for blocking and deleting torrents
- Add web UI for bulk actions (tagging and deleting)
- Some minor cosmetic web UI tweaks
- Move database operations to dao package
* Implement multiplatform builds (#18)
* Initial multiplatform build
* Change image name for pr
* Fix prettier errors
* Handle semver
---------
Co-authored-by: Francesco Bruno <f.bruno.dev@gmail.com>
* Avoid dirty version number
* Remove v prefix
* Add tags option
* Fix tags?
---------
Co-authored-by: Francesco Bruno <b.frenc@hotmail.it>
Co-authored-by: Francesco Bruno <f.bruno.dev@gmail.com>