valeriansaliou/sonic ? reverse-engineered prompt

Reverse engineered prompt

Build me a fast, lightweight search service in Rust that works like a small alternative to Elasticsearch.

I want it to store search terms in collections and buckets, take in text plus an ID, and return matching IDs when I search. It should support autocomplete, typo correction, and basic language aware cleanup like removing common stop words, with good Unicode support for lots of languages. Keep it schema less and focused on indexing identifiers, not full documents.

It should have a simple server I can run locally or in Docker, a clear config file, and a straightforward way to add, remove, flush, and search data while it is running. Make it feel very fast and low on memory, and include sensible defaults so I can try it quickly. If you need to check current Rust or dependency docs online while building it, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab