quickwit-oss/tantivy ? reverse-engineered prompt
Reverse engineered prompt
Build me a fast full text search library in Rust, something like a lightweight Lucene style search engine that I can embed in my own app.
I want to be able to define a schema, index documents, commit changes, and then search them with a simple query language that supports normal keywords, phrases, AND OR style queries, range filters, facets, and basic ranking with BM25. It should handle text fields, numbers, dates, booleans, IPs, JSON, and fast fields for quick lookups and aggregations. Please make indexing and searching feel very fast, support incremental updates, and keep startup time tiny so it works well in command line tools too.
If you need to, look up current Rust docs or crate patterns online. Add a few small examples showing how to create an index, add documents, and run searches.
Are you gonna build this?
make sure you review the code using coderabbit