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.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.