Software Alternatives & Reviews

Apache Lucene VS Apache Solr

Compare Apache Lucene VS Apache Solr and see what are their differences

Apache Lucene logo Apache Lucene

High-performance, full-featured text search engine library written entirely in Java.

Apache Solr logo Apache Solr

Solr is an open source enterprise search server based on Lucene search library, with XML/HTTP and...
  • Apache Lucene Landing page
    Landing page //
    2023-08-20
  • Apache Solr Landing page
    Landing page //
    2023-04-28

Apache Lucene videos

Paper Review - "Apache Lucene 4." SIGIR 2012 workshop on open source information retrieval

More videos:

  • Review - Fundamentals of Information Retrieval, Illustration with Apache Lucene

Apache Solr videos

Solr Index - Learn about Inverted Indexes and Apache Solr Indexing

More videos:

  • Review - Solr Web Crawl - Crawl Websites and Search in Apache Solr

Category Popularity

0-100% (relative to Apache Lucene and Apache Solr)
Custom Search Engine
16 16%
84% 84
Custom Search
15 15%
85% 85
Search Engine
17 17%
83% 83
Search API
13 13%
87% 87

User comments

Share your experience with using Apache Lucene and Apache Solr. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Apache Lucene and Apache Solr

Apache Lucene Reviews

5 Open-Source Search Engines For your Website
Apache Lucene is a free and open-source search engine software library, originally written completely in Java. It is supported by the Apache Software Foundation and is released under the Apache Software License. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform.
Source: vishnuch.tech

Apache Solr Reviews

Top 10 Site Search Software Tools & Plugins for 2022
Apache Solr is optimized to handle high-volume traffic and is easy to scale up or down depending on your changing needs. The near real-time indexing capabilities ensure that your content remains fresh and search results are always relevant and updated. For more advanced customization, Apache Solr boasts extensible plug-in architecture so you can easily plug in index and...
5 Open-Source Search Engines For your Website
Apache Solr is the popular, blazing-fast, open-source enterprise search platform built on Apache Lucene. Solr is a standalone search server with a REST-like API. You can put documents in it (called "indexing") via JSON, XML, CSV, or binary over HTTP. You query it via HTTP GET and receive JSON, XML, CSV, or binary results.
Source: vishnuch.tech
Elasticsearch vs. Solr vs. Sphinx: Best Open Source Search Platform Comparison
Solr is not as quick as Elasticsearch and works best for static data (that does not require frequent changing). The reason is due to caches. In Solr, the caches are global, which means that, when even the slightest change happens in the cache, all indexing demands a refresh. This is usually a time-consuming process. In Elastic, on the other hand, the refreshing is made by...
Source: greenice.net
Algolia Review – A Hosted Search API Reviewed
If you’re not 100% satisfied with Algolia, there are always alternative methods to accomplish similar results, such as Solr (open-source & self-hosted) or ElasticSearch (open-source or hosted). Both of these are built on Apache Lucene, and their search syntax is very similar. Amazon Elasticsearch Service provides a fully managed Elasticsearch service which makes it easy to...
Source: getstream.io

Social recommendations and mentions

Based on our record, Apache Solr should be more popular than Apache Lucene. It has been mentiond 17 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Apache Lucene mentions (7)

  • Looking for small libraries implemented in multiple langauges
    I have to find a few examples of relatively small programming libraries that has been rewritten/ported to C++, C# and Java. Example: Lucene (it isn't that small, but still shows what I'm looking for). Source: about 1 year ago
  • HBO Max needs to stop purging its content.
    He is talking about impacting the search algorithm. Putting a “+” sounds like it is negatively impacting search quality. Source: over 1 year ago
  • Whoever worked on Steam's search engine needs a raise.
    For example Lucene is a core project common to many search engines, lots of things built ontop of it. And there are similar libraries Https://lucene.apache.org/core/. Source: over 1 year ago
  • Prometheus vs Elasticsearch stack - Key concepts, features, and differences
    Full-text search Elasticsearch is built on top of Apache Lucene, an open-source information retrieval software. Apache Lucene enables Elasticsearch can perform complex full-text searches using a single or combination of word phrases against its No SQL database. - Source: dev.to / almost 2 years ago
  • A simple but efficient algorithm for searching a large dataset of objects?
    If I had control of the back end I would implement a full-text engine such as Lucene. Generate the lookup table as a batch job and then perform the FTS when the request comes in. If you try to do this real-time, your search will take exponentially longer the larger the data set gets. Source: almost 2 years ago
View more

Apache Solr mentions (17)

  • Swirl: An open-source search engine with LLMs and ChatGPT to provide all the answers you need 🌌
    Using the Galaxy UI, knowledge workers can systematically review the best results from all configured services including Apache Solr, ChatGPT, Elastic, OpenSearch, PostgreSQL, Google BigQuery, plus generic HTTP/GET/POST with configurations for premium services like Google's Programmable Search Engine, Miro and Northern Light Research. - Source: dev.to / 8 months ago
  • Looking for software
    Apache Solr can be used to index and search text-based documents. It supports a wide range of file formats including PDFs, Microsoft Office documents, and plain text files. https://solr.apache.org/. Source: 12 months ago
  • 'google-like' search engine for files on my NAS
    If so, then https://solr.apache.org/ can be a solution, though there's a bit of setup involved. Oh yea, you get to write your own "search interface" too which would end up calling solr's api to find stuff. Source: over 1 year ago
  • Search engine.
    Developers will use their SQL database when searching for specific things like client names, product names, or address search. Now when you want to level up from there and search all tables you better off using a separated server with a specific program like https://solr.apache.org/. Source: over 1 year ago
  • Search text from PDF files stored in an S3 bucket
    We’re using a self-managed OpenSearch node here, but you can use Lucene, SOLR, ElasticSearch or Atlas Search. Source: over 1 year ago
View more

What are some alternatives?

When comparing Apache Lucene and Apache Solr, you can also consider the following products

ElasticSearch - Elasticsearch is an open source, distributed, RESTful search engine.

Google Cloud Search - Search across all your company's content in G Suite.

Algolia - Algolia's Search API makes it easy to deliver a great search experience in your apps & websites. Algolia Search provides hosted full-text, numerical, faceted and geolocalized search.

Swiftype - The simplest way to add search to your website or application. Sign up for free.

OpenSearch - OpenSearch is a community-driven, open source search and analytics suite derived from Apache 2.0 licensed Elasticsearch 7.10.2 & Kibana 7.10.2. It consists of a search engine daemon, and a visualization and user interface, OpenSearch Dashboards.

Typesense - Typo tolerant, delightfully simple, open source search 🔍