Loading…
Loading…
Imagine your search results appearing 14 times faster. Manticore Search just achieved this by completely rebuilding its text embedding process, turning slow AI features into lightning-quick insights for developers.

Imagine trying to find a needle in a haystack, but the haystack keeps getting bigger and the search tools are sluggish. That's a bit like the challenge Manticore Search users faced when their brilliant 'Auto Embeddings' feature – which turns any text into a searchable vector – sometimes felt less 'auto' and more 'wait-a-minute'. The feedback was clear: speed was an issue. We're talking low-double-digits of documents processed per second, a bottleneck that left a lot of computing power on the table.
Text embeddings are the unsung heroes behind smart search and AI applications. They convert human language into numerical vectors, allowing computers to understand relationships between words and phrases, powering everything from semantic search to recommendation engines. When Manticore first rolled out its Auto Embeddings, it was a fantastic leap: no need for a separate, resource-heavy model service. It ran directly within Manticore, using SentenceTransformers on top of Candle, Hugging Face's pure-Rust ML inference runtime.
While innovative, this setup had its limitations. Users, including Dmitrii Kuzmenkov, the engineer behind the recent overhaul, found that even with ample CPU, the processing rate hovered around 10-20 documents per second. This meant that for anyone dealing with large datasets, the promise of automatic, intelligent search was hampered by the practical reality of waiting. It wasn't about a lack of power; it was about how that power was being utilized.
The biggest frustration was seeing so much CPU sitting idle. We knew Manticore could do better, and our users deserved that efficiency.
The team at Manticore didn't just tweak things; they went back to the drawing board. The core problem was the serialization of concurrent calls on a single thread within the Candle-based path. It simply wasn't built for the kind of parallel processing modern search demands. The solution? A complete rebuild, shifting the core inference engine to ONNX (Open Neural Network Exchange).
ONNX isn't just another acronym; it's an open standard that allows developers to move machine learning models between different frameworks. This flexibility, crucially, enables models to run with highly optimized inference engines. By adopting ONNX, Manticore could integrate a much more efficient execution environment, specifically designed to handle parallel workloads and leverage CPU resources far more effectively. This wasn't a small change; it required rewriting significant portions of the embedding pipeline to fully capitalize on ONNX's capabilities.
📌 Key Point: Manticore's Auto Embeddings now run 14 times faster without requiring any external model service, keeping everything self-contained and streamlined.
Moving from low-double-digits to processing hundreds of documents per second changes everything. For developers and businesses using Manticore, this speedup translates directly into more responsive applications and the ability to handle significantly larger data volumes without compromising performance. It means real-time semantic search becomes a practical reality, not just a theoretical possibility.
This isn't just an incremental improvement; it's a fundamental shift in how quickly you can index and search with AI-powered understanding. Imagine updating your product catalog and having its new descriptions instantly available for semantic search, or processing user queries with unparalleled speed. The benefits ripple through the entire application stack.
Here's what this dramatic speedup delivers:
Text embeddings are numerical representations of text that capture its semantic meaning, allowing computers to understand relationships between words and phrases for tasks like search.
Share this article
Found this useful? Share it with your friends and followers.
Rate this article
Leave a comment
Related topics
You might also like
Handpicked stories for you

Imagine waiting 14 times longer for your search results. That was the reality for some users of Manticore's Auto Embeddings. A deep dive into the engineering choices that delivered a stunning 14x speed boost for text-to-vector conversion.





Enjoy this article?
Get fresh stories delivered to your inbox every morning.