Open Sandy4321 opened 10 months ago
https://medium.com/@mutahar789/optimizing-rag-a-guide-to-choosing-the-right-vector-database-480f71a33139 Full-text Search databases (ElasticSearch, OpenSearch) Full-text search databases, such as ElasticSearch and OpenSearch, excel in facilitating comprehensive text search and enabling advanced analytics. However, they underperform compared to dedicated vector databases when it comes to conducting vector similarity searches and managing high-dimensional data. These databases often require augmentation with other tools for semantic search since they do not make use of vector indexing, but only rely on inverted index. The performance of Elasticsearch lags behind that of Weaviate, Milvus, and Qdrant, as evidenced by the results from the Qdrant benchmarks. Notably, Elasticsearch exhibits significant latency and limited throughput across all three datasets employed for benchmarking purposes.
Hi Sandy,
The purpose of this repository is to explore and work with different technologies involved in semantic search space. I don't intend to do a comparative analysis specifically for the article/notebook in question. I just wanted to demonstrate the Elasticsearch's KNN Hybrid search capabilities as I worked with Elastic and Solr in the past. But to answer your questions, following thoughts come to my mind:
To summarize, you can choose whatever database you want for semantic search based on your budget, requirements, tech stack integration and other parameters but the underlying algorithm remains the same. You can implement a low latency search platform using open source technologies like Solr without pouring in money for a specialized databases. The goal should be to implement a solution in a cost effective manner without losing too many capabilities. I have demonstrated Elastic because I work with Elastic on daily basis so it was easy to integrate but you can easily translate the semantic search setup to an open-source technology like Solr.
still it is not clear what is so good in elastic search ? https://medium.com/nerd-for-tech/enhancing-faq-search-engines-harnessing-the-power-of-knn-in-elasticsearch-76076f670580