hn.today

Show HN: Infino – BM25, vector and SQL search where the index is a Parquet file

github.com14 points0 comments
Screenshot of Show HN: Infino – BM25, vector and SQL search where the index is a Parquet file

Infino is an open-source search library designed as an alternative to Lucene. Its central idea is to store documents and their search indexes together in ordinary Parquet files, on local disk or object storage. One dataset can support BM25 full-text search, vector search, hybrid ranking, and SQL queries through Apache DataFusion; DuckDB and PyArrow can also read the files. The library is written in Rust, with Python and Node.js bindings. It uses immutable files and an atomic manifest update rather than Lucene-style segment management, and can cache the portions of remote files needed for queries. Vector indexes use IVF with compact 1-bit codes by default, with HNSW and flat alternatives.

The project reports roughly 2.2-times-faster top-k full-text queries than Lucene in a named benchmark. Its published warm-latency figures on object storage include BM25 top-10 at 125 microseconds for one million documents and 2 milliseconds for ten million; vector top-10 takes 591 microseconds and 5 milliseconds, respectively, with reported recall@10 of 0.992 at one million. Cold queries are much slower because files must be opened and cached, and the benchmark materials provide reproduction commands and configuration details. Infino also offers an Apache-licensed OpenSearch plugin intended to preserve familiar indexing and search operations while storing shard data in Infino tables. It lacks some Lucene features, including fuzzy matching, highlighting, geo queries, and a broader range of language analyzers.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Laravel Go

Laravel Go

Laravel for Go is a full-stack web framework with routing, validation, database tools, background jobs, workflows, and real-time events. It also supports Inertia for frontend integration and is open source under the MIT license. (github.com)

Laravel Go

Laravel Go

Laravel Go is a batteries-included Go framework that combines routing, data access, authentication, queues, workflows, and other features in one package. It uses standard Go patterns and Inertia to serve React, Vue, or Svelte pages without separate API boilerplate. (laravel.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.