5 Commits

Author SHA1 Message Date
mgdigital 6358b27bc6 Search query string rework (#96)
- `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
2024-01-07 11:51:40 +00:00
mgdigital 5d74cf6c81 Lazy instantiation for services with side effects (#98) 2024-01-06 12:40:11 +00:00
mgdigital b199474a81 Add client suffix to DHT node ID (#77)
* Use DHT client ID with suffix

* Remove unwanted warn logs
2023-11-28 18:16:54 +00:00
mgdigital ec95f7cc3a Observability enhancements (#67) 2023-11-18 18:58:02 +00:00
mgdigital 070f38120b DHT responder: Implement BEP5 & BEP51 (#21)
- Address https://github.com/bitmagnet-io/bitmagnet/issues/11 with BEP5 & BEP51 implementations
- Reimplement DHT crawler around new routing table
- Fix https://github.com/bitmagnet-io/bitmagnet/issues/45
- Fix https://github.com/bitmagnet-io/bitmagnet/issues/42
- Fix https://github.com/bitmagnet-io/bitmagnet/issues/39
- Fix https://github.com/bitmagnet-io/bitmagnet/issues/37
- Make bootstrap nodes configurable: https://github.com/bitmagnet-io/bitmagnet/issues/27
- Add profiling tools to Docker image
2023-11-06 16:41:08 +00:00