← Back to Blog

Torque 0.7.0: Open Source

Torque 0.7.0 is out, and open source under MIT or Apache-2.0 at github.com/truespar/torque. Torque is a search engine in Rust for large datasets you rebuild from an existing database: build the index next to your data, upload it as compact segment files, and switch a collection alias. It serves them through a Typesense-compatible API, with text search, filters, facets, sorting, geo search and name matching.

There is a live collection to search on the Torque page: 3.4 million legal entities from the GLEIF register, rebuilt daily.

Text search is Torque's own implementation now, so its results and text_match are its own. Names are new: a name field is also found by its passport spelling and by its sound, and name_score orders candidates by how well two names match, with the evidence behind the score. On 309,000 records it measured 16.5x Typesense's throughput at one client and 9.5x at 24, winning all 15 patterns.

Collections from an earlier version have to be built again: segment files are version 6 and earlier files are not compatible. Downloads, the Docker image and the clients are on the 0.7.0 release. Every change is in the release notes.