oramasearch/orama ? reverse-engineered prompt

Reverse engineered prompt

Build me a tiny search engine library that works in the browser, on the server, and at the edge, and stays really small and fast.

I want it to support normal text search, vector search, and a hybrid mode that mixes both. It should handle things like filters, facets, geosearch, typo tolerant matching, exact matches, boosting certain fields, and result pinning for merchandising. Please make it easy to define a schema, add documents, remove them, and run searches against a collection of data.

It should also support embeddings for AI style search and basic RAG use cases, and have a plugin system so extra features can be added cleanly. Use TypeScript, make the API simple and pleasant to use, and include a few clear examples and tests. If you need to check current docs or best practices while building, feel free to look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab