upvote
lucene supports dense vectors so you can use it to do a "hybrid" search of BM25 + the more "natural language" aspect of vector search.

https://lucene.apache.org/core/9_0_0/core/org/apache/lucene/...

reply
first paragraph says "matched or slightly exceeded native-search accuracy while reducing search costs"

so it's slightly better, and cheaper. plus it has additional benefits, e.g. in the third paragraph:

Native search made grounding easy to enable, but kept retrieval decisions inside the model provider’s API. We needed to choose search providers, reuse evidence across applications, tune retrieval depth, and measure search cost and latency independently of the reasoning model.

reply
“Native search” in this case is referring to their existing hosted-LLM QIU architecture, not a text-index search. I suspect the cost comparison would not be nearly so favorable against ElasticSearch or Lucene, but it also wouldn’t do the whole “intent understanding” bit unless you built an expert system in top of it… which is basically what layering an LLM on top does for you.
reply
This architecture implements a semantic layer that you don't get with plain ElasticSearch or Lucene. Those engines are built specifically for string-based comparison (which is often all you really need)
reply
Lucene has supported semantic search for a while now
reply
[dead]
reply
[dead]
reply
That didn't cost $20 for 1000 requests. If you make something that costs that much then when you optimize it to be sane and ... then you can produce this blog post to talk about how much money you saved.
reply
How is this different? They are able to tell their shareholders that they're using AI.
reply