Release Notes

Version history and changelog for Torque.

0.7.0 - 2026-11-07

Torque is open source, text search is Torque's own implementation, and names are matched by passport spelling and by sound.

Open source

  • Torque is now open source. The server, Studio, the clients and the native segment builder are licensed under MIT OR Apache-2.0, at your option, and developed in the open at github.com/truespar/torque.
  • Studio's Search Assistant runs on your own model. Set ai_provider (anthropic, or openai for any OpenAI-compatible endpoint) and ai_api_key in torque.toml, or as TORQUE_AI_*. The assistant stays hidden until you set it, the provider's key stays on the server, and it only ever gets the collection's schema, never the documents.
  • The Go client is a module in the repository at github.com/truespar/torque/clients/go: go get it instead of downloading an archive.

Upgrading

Every collection has to be built again. Segment files are TQBF version 6 and a file of any other version is not compatible. Rebuild the native segment builder and the .NET client together with the server. The server starts over older files and sets those collections aside: their searches answer 404 until they are built again, and DELETE /collections/{name} removes them, which frees the name. Data directories of earlier versions are not migrated.

  • overlay_flush_interval_ms and --overlay-flush-interval-ms are gone.
  • A document without a language is stemmed in the collection's default_language, not in English.

Text search

  • Text search is Torque's own implementation, so results and text_match differ from Typesense's. Every search parameter stays accepted with its documented meaning. text_match is BM25F behind the words matched, typos, completions and a field holding exactly the query; its values, and the order of equally good hits, are Torque's own. A search over any split of a collection's documents gives what one segment holding them gives.
  • Words. Only whitespace and token_separators split words; other punctuation is dropped from inside a word, so non-stick is one word, nonstick. Letters of every script fold to ASCII, so "шипулин" finds "Шипулин" in any field, and every Unicode space splits words in any field.
  • Prefixes keep their accents - "trä" finds "trädgård" and not "transport", while "tra" finds both - and find stemmed words as written.
  • max_candidates defaults to 4 at any collection size, as documented.
  • A default_sorting_field still sorts hits; it does not decide which candidate words are tried.
  • Snippets are the first match with highlight_affix_num_tokens tokens on each side, ... where cut.
  • A "phrase" in q is checked against the stored text, so a phrase whose words many documents hold costs more than a plain search.
  • prioritize_token_position has no effect, and neither does a field's or a synonym's locale: tokenization is the same for every language.
  • prefix=false matches the last word of a multi-word query whole.

Name matching

  • name_matching, a field option for names. A name_matching field's words are also found by their passport spelling ("Oedegaard" and "Ødegård") and by sound ("Mohammed" and "Muhamad"). The search parameter name_matching (off, fallback, always, per query_by field) sets when.
  • name_score=true orders the first name_score_candidates hits by how well their names match, parts paired in any order, with the evidence on each hit. name_score_kind tells people from organizations.
  • explain_matches=true lists, per query word, the term it matched and how.

See Name Matching.

Realtime collections

  • Writes are segments, made durable by a write-ahead log. A write is on disk before it is acknowledged, and a restart replays the log.
  • Saves write what changed, and saved segments serve from their mapped files.
  • Segments merge from their sections instead of decoding every document and building it again.
  • Collection info reports realtime (memory_documents, deleted_documents, segments, last_flush_at, wal_bytes), with the metrics torque_memory_documents and torque_deleted_documents.

Fixes

  • String filters find documents of every language. A filter on a stemmed field missed the documents whose language is not the collection's: category:=Electronics found none of the Swedish ones. The .NET client's fields are stemmed by default.
  • highlights lists top-level fields only, as Typesense's first format does; a field inside an object is in highlight.
  • /metrics stays bounded: requests count under the route they matched, and a deleted collection's series go with it.
  • A power loss, a crash or a failed write at any step of a change to the data directory leaves a state the server recovers: renames and removals are durable on Windows and Unix, and a collection whose files cannot be read is set aside instead of being overwritten.
  • A restart before a flush keeps every field of the documents it replays, those outside the schema too.
  • An import no longer costs about 200 ms on Windows whatever its size.
  • facet_return_parent gives a parent for numbers and for fields in arrays of objects, max_facet_values has no cap, and a collection never written to answers facet_by with each facet field, empty.
  • Collection answers carry default_sorting_field, token_separators, symbols_to_index and, per field, locale, stem_dictionary and store. POST /collections, POST /keys, POST /config and a document POST answer 201.
  • A filter condition without a : is a 400 before its field is looked up.
  • .NET client: searches of a string[] field read their highlights.
  • The MCP server's search tool takes prefix and num_typos as JSON values or text.
  • The Docker image generates an API key.

0.6.1 - 2026-07-14

Code-signing release - functionally identical to 0.6.0.

  • Windows binaries (torque-server.exe, torque-admin.exe) are Authenticode-signed by "The Intelligence Company AB (publ)" with an RFC 3161 timestamp
  • The Linux tarball ships with a detached GPG signature (.asc) and SHA-256 checksum
  • Client SDKs are unchanged and remain at 0.6.0

0.6.0 - 2026-07-14

Typesense v30.1 API coverage complete, LLM-powered search, an MCP server for AI agents, crash-safe persistence, and the fastest query performance of any Torque release.

Upgrade note - action required: the on-disk index format changed. Collections persisted by 0.5.0 cannot be loaded by 0.6.0 and must be re-imported. Export with the 0.5.0 torque-admin (or re-stream from your source systems), upgrade, then re-import.

Typesense v30.1 API complete

  • Curation sets - pin, hide, filter, and re-rank results for specific queries via the /curation_sets API, with tag and time-window matching
  • Analytics - popular-queries and no-hits rules with automatic search capture, counter rules, and aggregation into destination collections
  • Bulk update by filter (PATCH /documents?filter_by=) with atomic validation; bulk delete requires filter_by or explicit truncate=true
  • Document write actions create / upsert / update / emplace, plus return_doc on imports
  • Custom stemming dictionaries (/stemming/dictionaries + per-field stem_dictionary)
  • Operations endpoints: snapshot, compact, cache clear, schema changes, /metrics.json, runtime /config
  • Multi-search union mode merging all searches into one ranked result set
  • New field types: object / object[] / auto with import-time sub-field discovery, string*, bool[], geopoint[]; collection metadata and collection-bound synonym_sets
  • Full search parameter coverage: advanced typo tolerance, ranking controls, highlight_full_fields / snippet_threshold, facet sampling, and more
  • Typesense bare-colon filter syntax (field: value, field:[a, b])

LLM-powered search

  • Conversational search (conversation=true) - grounded answers over your top hits with durable multi-turn history and SSE streaming (conversation_stream=true)
  • Natural-language search (nl_query=true) - an LLM translates free-form questions into structured search parameters before the search runs
  • Auto-embedding - embed config on vector fields fills embeddings at import time; vector_query embeds query text server-side
  • All three work with any OpenAI-compatible endpoint, hosted or self-hosted

MCP server

  • POST /api/mcp exposes nine tools (search, multi-search, schema, document and collection CRUD) to Claude Desktop, Claude Code, and any MCP client - enabled in all shipped binaries

Performance

  • 9.5x faster than Typesense (geometric mean over 15 query patterns on a real 309K-document dataset, single client; wins every pattern) and 7.4x faster than Quickwit
  • Infix search on any searchable field, TTL-bounded search result cache (use_cache / cache_ttl)
  • Pure-Rust storage engine (roaring-rs) replacing the previous C bitmap library

Reliability

  • Crash-safe generation-scoped index persistence - an interrupted save can no longer corrupt a collection
  • Segment compaction handles multi-gigabyte text-heavy collections; large text stays memory-mapped through compaction
  • Import memory admission is streaming-aware, enabling multi-GB binary imports on smaller hosts

SDKs (all at 0.6.0)

  • Typed search parameters cover the complete v30.1 set in all five SDKs
  • New union multi-search helpers in every SDK
  • Python fix: boolean search parameters now serialize correctly (previously rejected by the server) - upgrade the SDK with the server
  • Go SDK is distributed as its own download

0.5.0 - 2026-04-11

First public release of Torque - Truespar's high-performance search engine. Typesense v30.1 API compatible.

Search

  • Full-text search with relevance ranking and multi-field queries
  • Filters: exact match, numeric range, boolean, array, geo radius, and nested object conditions
  • Sorting: field, text relevance, geo distance, and decay functions (Gaussian, linear, exponential)
  • Faceted search with stats (min, max, sum, average)
  • Grouping with configurable per-group limits
  • Prefix / autocomplete search
  • Typo tolerance with automatic correction
  • Vector search (dense embeddings) with hybrid relevance blending
  • Synonyms (bidirectional and root), presets, stopwords
  • Highlighting with configurable tags
  • Stemming for 17 languages: English, German, French, Spanish, Portuguese, Italian, Dutch, Swedish, Norwegian, Danish, Finnish, Russian, Arabic, Greek, Hungarian, Romanian, Turkish

Ingestion

  • HTTP JSONL import - Typesense-compatible import endpoint with create, upsert, and update actions
  • TCP binary ingest - custom high-throughput streaming protocol for live database sync (70K docs/s measured on a 309K-document benchmark, 7.5× faster than Typesense on the same hardware)
  • TQBF binary file upload - pre-encoded compressed file format for bulk imports, ETL pipelines, and data distribution
  • Batch mode for full index rebuilds on commit
  • Realtime mode for instant upsert and delete with backpressure handling

API Compatibility

  • Typesense v30.1 compatible HTTP REST API - drop-in replacement for existing Typesense clients
  • Full collection CRUD, document CRUD, search, multi-search, aliases, API key management
  • Collection aliases for zero-downtime schema migrations
  • HMAC scoped search keys

Persistence & Durability

  • Full in-memory serving with automatic disk persistence
  • Realtime overlay persistence with sub-second flush
  • Atomic writes with integrity checks (temp file + fsync + rename)
  • Automatic collection, schema, alias, key, synonym, preset, and stopword restore on startup

Server & Operations

  • TLS / HTTPS support
  • Prometheus metrics endpoint at /metrics
  • HTTP IP allowlist via --allowed-ips / TORQUE_ALLOWED_IPS (CIDR ranges)
  • Configurable collection deletion guard (allow_drop_collection) for production hardening
  • Configurable Studio gating (--no-studio) for API-only deployments
  • Auto-generated bootstrap API key on first run (persistable via --api-key, env var, or TOML)
  • Slow query logging with configurable threshold
  • Multi-node failover and retry across nodes (configured client-side)
  • SIGTERM graceful shutdown (Docker and systemd compatible)
  • Daily rotating log files
  • Windows Service support (--service-install / --service-uninstall)
  • TOML configuration file, environment variables, and command-line arguments

GPU Acceleration

  • NVIDIA CUDA acceleration for scoring, filtering, vector distance, and facet counting
  • Shipped as a separate GPU-enabled build artifact - contact Truespar for availability
  • Automatic CPU fallback when GPU hardware is unavailable

Torque Studio

  • Embedded web UI served from the torque-server binary - no separate install
  • Search editor with syntax highlighting and schema-aware completions
  • Schema browser, collection management, and data import panels
  • Benchmark comparison panel (Torque vs Typesense vs Quickwit)
  • API key management and license / device management
  • In-app update notifications via /api/update/download proxy
  • Dark and light theme

Client SDKs

All five SDKs provide the full HTTP API, TCP binary ingest, and TQBF binary file writer. Each one targets zero external runtime dependencies.

  • .NET 10+ - Torque.Http on NuGet. Source-generated JSON serialization.
  • Python 3.10+ - torque-http on PyPI. Standard library only. Typed search parameters and response models.
  • Node.js 20+ - @truespar/torque-http on npm. Native fetch, ESM, TypeScript declarations included.
  • Go 1.23+ - torque-sdk-go downloadable from truespar.com. Context-aware API, go.mod replace directive.
  • Java 21+ - com.truespar:torque-http on Maven Central. Built on Java's built-in HttpClient. Typed SearchParameters, SearchResult, and Hit models.

Admin Tooling

  • torque-admin CLI for collection management, JSONL export/import, TQBF binary file export/import, and document deletion by ID

Distribution

  • Windows x64 ZIP
  • Linux x64 tarball
  • Docker image: truespar/torque:0.5.0