lucene VS Milvus

Compare lucene vs Milvus and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
lucene Milvus
11 104
2,358 26,857
4.0% 4.3%
9.8 10.0
about 10 hours ago 2 days ago
Java Go
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

lucene

Posts with mentions or reviews of lucene. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-17.
  • Building an efficient sparse keyword index in Python
    5 projects | dev.to | 17 Aug 2023
    First, a review of the landscape. As said in the introduction, there aren't a ton of good options. Apache Lucene is by far the best traditional search index from a speed, performance and functionality standpoint. It's the base for Elasticsearch/OpenSearch and many other projects. But it requires Java.
  • Java Panama Vector API Integrated with Apache Lucene
    1 project | /r/hypeurls | 27 May 2023
    3 projects | news.ycombinator.com | 27 May 2023
    https://github.com/apache/lucene/issues/10047

    2. The Panama Vector API allows CPU's that support it to accelerate vector operations: https://openjdk.org/jeps/438

    So this allows fast ANN on Lucene for semantic search!

    How did people do this before Lucene supported it? Only through entirely different tools?

  • What Is a Vector Database
    22 projects | news.ycombinator.com | 5 May 2023
    Are they forking Lucene or somehow getting the Lucene devs to increase that limit? Because this PR has been open for over a year now: https://github.com/apache/lucene/issues/11507
  • An alternative to Elasticsearch that runs on a few MBs of RAM
    65 projects | news.ycombinator.com | 24 Oct 2022
  • Lucene 9.4 (optionally) uses Panama's mapped MemorySegments when JDK 19 is detected
    1 project | /r/java | 30 Sep 2022
  • A primer on Roaring bitmaps: what they are and how they work
    3 projects | news.ycombinator.com | 3 Sep 2022
    Lucene's adaptation of Roaring uses the complement idea on a block-wise basis:

    https://github.com/apache/lucene/blob/84cae4f27cfd3feb3bb42d...

  • How are documents stored in Elasticsearch?
    1 project | /r/elasticsearch | 7 Feb 2022
    Like someone said, it's in locations as specified in the path.data. Depending on sharing and replication, it could be on more than one host. Elastic uses Apache Lucene to store documents, since it's open source, that rabbit hole will welcome research :-)
  • panama/foreign status update
    2 projects | /r/java | 4 Dec 2021
  • Amazon Elasticsearch Service Is Now Amazon OpenSearch Service
    4 projects | news.ycombinator.com | 9 Sep 2021
    It is pretty clear to me that Elastic is planning to build their ANN features differently than OpenDistro's k-NN implementation, or other plugins modules that extend Easticsearch in similar ways. They now will build on the Apache Lucene capabilities that were collaboratively built "upstream" by a number of individuals, some that work for Amazon and some that work for Elastic.

    From the linked issue, it seemed that they were originally planning to develop this as a proprietary feature of Elasticsearch, without contributing the functionality to Apache Lucene, but then changed direction when the Apache Lucene developers (some of which are currently employed to do such work by Amazon) started to build its approximate nearest neighbor (ANN) vector search capabilities. [1]

    It's great to see folks that work for Elastic collaborating and building on what is in Apache Lucene to extend the utility of ANN with Hierarchical Navigable Small World Graphs (HNSW) [2]! From this, I think it should be possible to implement an Open Source version of the functionality with a compatible API, if that is something that OpenSearch users seek.

    [1] https://issues.apache.org/jira/browse/LUCENE-9004

    [2] https://github.com/apache/lucene/pull/250

Milvus

Posts with mentions or reviews of Milvus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-01.
  • Ask HN: Who is hiring? (April 2024)
    10 projects | news.ycombinator.com | 1 Apr 2024
    Zilliz (zilliz.com) | Hybrid/ONSITE (SF, NYC) | Full-time

    I am part of the hiring team for DevRel

    NYC - https://boards.greenhouse.io/zilliz/jobs/4307910005

    SF - https://boards.greenhouse.io/zilliz/jobs/4317590005

    Zilliz is the company behind Milvus (https://github.com/milvus-io/milvus), the most starred vector database on GitHub. Milvus is a distributed vector database that shines in 1B+ vector use cases. Examples include autonomous driving, e-commerce, and drug discovery. (and, of course, RAG)

    We are also hiring for other roles that I am not personally involved in the hiring process for such as product managers, software engineers, and recruiters.

  • Unlock Advanced Search Capabilities with Milvus and Read about RAG
    1 project | dev.to | 22 Mar 2024
    Get started with Milvus on GitHub.
  • Milvus VS pgvecto.rs - a user suggested alternative
    2 projects | 13 Mar 2024
  • How to choose the right type of database
    15 projects | dev.to | 28 Feb 2024
    Milvus: An open-source vector database designed for AI and ML applications. It excels in handling large-scale vector similarity searches, making it suitable for recommendation systems, image and video retrieval, and natural language processing tasks.
  • Simplifying the Milvus Selection Process
    3 projects | dev.to | 19 Feb 2024
    Selecting the right version of open-source Milvus is important to the success of any project leveraging vector search technology. With Milvus offering different versions of its vector database tailored to varying requirements, understanding the significance of selecting the correct version is key for achieving desired outcomes.
  • 7 Vector Databases Every Developer Should Know!
    4 projects | dev.to | 8 Feb 2024
    Milvus is an open-source vector database designed to handle large-scale similarity search and vector indexing. It supports multiple index types and offers highly efficient search capabilities, making it suitable for a wide range of AI and ML applications, including image and video recognition, natural language processing, and recommendation systems.
  • Ask HN: Who is hiring? (February 2024)
    18 projects | news.ycombinator.com | 1 Feb 2024
    Zilliz is hiring! We're looking for REMOTE and/or HYBRID roles in SF

    Zilliz is the company behind Milvus (https://github.com/milvus-io/milvus), the most widely adopted vector database. Vector databases are a crucial piece of any technology stack looking to take advantage of unstructured data. Most recently and notably, Retrieval Augmented Generation (RAG). For RAG, vector databases like Milvus are used as the tool to inject customized data. In other words, vector databases make things like customized chat bots, personalized product recommendations, and more possible.

    We are hiring for Developer Advocates, Senior+ Level Engineers and Product people, and Talent Acquisition. Check out all the roles here: https://zilliz.com/careers

  • Qdrant, the Vector Search Database, raised $28M in a Series A round
    8 projects | news.ycombinator.com | 23 Jan 2024
    Good on them, I know the crustaceans are out here happy about this raise for a Rust based Vector DB!

    (now I'm gonna plug what I work on)

    If you're interested in a more scalable vector database written in Go, check out Milvus (https://github.com/milvus-io/milvus)

  • Open Source Advent Fun Wraps Up!
    10 projects | dev.to | 5 Jan 2024
    But before we do, I do want to say that 🤩 all these lovely Open-Source projects would love a little 🎉💕 love by getting a GitHub star ⭐ for their efforts. Including Open Source Milvus 🥰
  • First 15 Open Source Advent projects
    16 projects | dev.to | 15 Dec 2023
    1. Milvus by Zilliz | Github

What are some alternatives?

When comparing lucene and Milvus you can also consider the following projects:

pisa - PISA: Performant Indexes and Search for Academia

pgvector - Open-source vector similarity search for Postgres

Typesense - Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

faiss - A library for efficient similarity search and clustering of dense vectors.

RoaringBitmap - A better compressed bitset in Java: used by Apache Spark, Netflix Atlas, Apache Pinot, Tablesaw, and many others

qdrant - Qdrant - High-performance, massive-scale Vector Database for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

OpenSearch - 🔎 Open source distributed and RESTful search engine.

Weaviate - Weaviate is an open-source vector database that stores both objects and vectors, allowing for the combination of vector search with structured filtering with the fault tolerance and scalability of a cloud-native database​.

Apache Solr - Apache Lucene and Solr open-source search software

Elasticsearch - Free and Open, Distributed, RESTful Search Engine

resin - Vector space search engine. Available as a HTTP service or as an embedded library.

Face Recognition - The world's simplest facial recognition api for Python and the command line