Software Alternatives, Accelerators & Startups

Apache Solr VS Typesense

Compare Apache Solr VS Typesense and see what are their differences

Apache Solr logo Apache Solr

Solr is an open source enterprise search server based on Lucene search library, with XML/HTTP and...

Typesense logo Typesense

Typo tolerant, delightfully simple, open source search 🔍
  • Apache Solr Landing page
    Landing page //
    2023-04-28
  • Typesense Landing page
    Landing page //
    2022-11-07

Apache Solr features and specs

  • Scalability
    Apache Solr is highly scalable, capable of handling large amounts of data and numerous queries per second. It supports distributed search and indexing, which allows for horizontal scaling by adding more nodes.
  • Flexibility
    Solr provides flexible schema management, allowing for dynamic field definitions and easy handling of various data types. It supports a variety of search query types and can be customized to meet specific search requirements.
  • Rich Feature Set
    Solr comes with a wealth of features out-of-the-box, including faceted search, result highlighting, multi-index search, and advanced filtering capabilities. It also offers robust analytics and joins support.
  • Community and Documentation
    Being an open-source project, Apache Solr has a strong community and comprehensive documentation, which ensures continuous improvements, updates, and extensive support resources for developers.
  • Integrations
    Solr integrates well with a variety of databases and data sources, and it provides REST-like APIs for ease of integration with other applications. It also has strong support for popular programming languages like Java, Python, and Ruby.
  • Performance
    Solr is built on top of Apache Lucene, which provides high performance for searching and indexing. It is optimized for speed and can handle rapid data ingestion and real-time indexing.

Possible disadvantages of Apache Solr

  • Complexity
    The initial setup and configuration of Apache Solr can be complex, particularly for those not already familiar with search engines and indexing concepts. Managing a distributed Solr installation also requires considerable expertise.
  • Resource Intensive
    Running Solr, especially for large datasets, can be resource-intensive in terms of both memory and CPU. It requires careful tuning and adequate hardware to maintain performance.
  • Learning Curve
    The learning curve for Apache Solr can be steep due to its extensive feature set and the complexity of its configuration options. New users may find it challenging to get up to speed quickly.
  • Consistency Issues
    In distributed setups, ensuring data consistency can be challenging, particularly for users unfamiliar with managing clustered environments. There may be delays or issues with synchronizing indexes across multiple nodes.
  • Maintenance
    Ongoing maintenance of a Solr instance, including monitoring, tuning, and scaling, can be labor-intensive. This requires dedicated effort to keep the system running efficiently over time.
  • Limited Real-time Capabilities
    Although Solr provides near real-time indexing, it may not be as effective as some specialized real-time search engines. For applications requiring truly real-time capabilities, additional solutions might be necessary.

Typesense features and specs

  • High Performance
    Typesense offers highly optimized search capabilities with fast response times, ensuring quick retrieval of search results even with large datasets.
  • Easy to Set Up
    Typesense is user-friendly and can be quickly set up using a simple configuration, making it accessible for developers who need a straightforward search solution.
  • Real-Time Indexing
    Typesense supports real-time indexing, meaning new data or updates to existing data are searchable almost immediately without significant delay.
  • Open Source
    Being an open-source solution, Typesense provides transparency, community support, and the possibility for customization to meet specific needs.
  • Typo Tolerance
    Typesense’s built-in typo tolerance allows for forgiving spell-check and correction, enhancing user experience by returning relevant results despite minor typing errors.
  • Faceted Search
    The platform supports faceted search, which lets users narrow down search results through various categories, improving relevancy and user navigation.

Possible disadvantages of Typesense

  • Limited Advanced Features
    Compared to some competitors, Typesense offers fewer advanced search features like natural language processing or machine learning-based relevance tuning.
  • Community Support
    Being relatively newer, Typesense has a smaller user base and community support compared to established search engines like ElasticSearch or Solr.
  • Documentation
    Some users may find Typesense’s documentation to be less comprehensive, potentially leading to a steeper learning curve for complex use-cases.
  • Scalability
    While Typesense is scalable, enterprise-level users managing extremely large datasets might find it less robust compared to established solutions that have been battle-tested in large-scale environments.
  • Ecosystem Integration
    The integration ecosystem is still developing, which means fewer out-of-the-box integrations with other popular tools and platforms compared to older search engines.

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

Typesense videos

Getting started with Typesense

Category Popularity

0-100% (relative to Apache Solr and Typesense)
Custom Search Engine
49 49%
51% 51
Custom Search
49 49%
51% 51
Search Engine
49 49%
51% 51
Search API
56 56%
44% 44

User comments

Share your experience with using Apache Solr and Typesense. 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 Solr and Typesense

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

Typesense Reviews

Best Elasticsearch alternatives for search
A plug for yours truly! At Relevance AI, we’re building an Elasticsearch alternative that is very different to alternatives like Algolia and Typesense. Relevance AI search is an instant search API that understands “semantics”.
Source: relevance.ai
5 Open-Source Search Engines For your Website
Typesense is a fast, typo-tolerant search engine for building delightful search experiences. It claims that it is an Easier-to-Use ElasticSearch Alternative & an Open Source Algolia Alternative.
Source: vishnuch.tech
Recommendations for Poor Man's ElasticSearch on AWS?
Oh hey! I'm one of the co-founders of Typesense. Delighted to stumble on a mention of Typesense on Indiehackers. Long time lurker, first time poster :)

Social recommendations and mentions

Based on our record, Typesense should be more popular than Apache Solr. It has been mentiond 57 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 Solr mentions (19)

  • List of 45 databases in the world
    Solr — Open-source search platform built on Apache Lucene. - Source: dev.to / 6 months ago
  • Considerations for Unicode and Searching
    I want to spend the brunt of this article talking about how to do this in Postgres, partly because it's a little more difficult there. But let me start in Apache Solr, which is where I first worked on these issues. - Source: dev.to / 6 months ago
  • 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 / over 1 year 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: over 1 year 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: about 2 years ago
View more

Typesense mentions (57)

  • Understanding the BM25 full text search algorithm
    We use https://typesense.org/ for regular search, but it now has support for doing hybrid search, curious if anyone has tried it yet? - Source: Hacker News / about 2 months ago
  • Show HN: Self-Hostable Algolia DocSearch Replacement
    Took me a little poking around to figure out what the underlying search engine was: it's https://typesense.org/ hosted in a Docker container. - Source: Hacker News / 3 months ago
  • Release Radar · August 2024: Major updates from the open source community
    We all make mistakes at times, and we've all made a typo here and there at some point in our lives. Typesense is here to change all that, with a typo-tolerant, in-memory, fuzzy search engine. The latest release has a new mode, better typo tolerance, support for new references and synonyms, new search parameters, and AI search improvements. Check out all the breaking changes and major updates in the Typesense... - Source: dev.to / 4 months ago
  • What Postgres Full Text Search Is Missing
    Alternatives to both are https://www.meilisearch.com/ https://typesense.org/ and maybe https://github.com/Sygil-Dev/whoosh-reloaded. - Source: Hacker News / 5 months ago
  • The top tools for implementing ecommerce search in React
    Typesense presents itself as an open source and easy-to-use alternative to Algolia. It offers many similar search features, but Typesense lacks the extensive suite of tools beyond search functionalities that Algolia provides. - Source: dev.to / 7 months ago
View more

What are some alternatives?

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

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

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.

Meilisearch - Ultra relevant, instant, and typo-tolerant full-text search API

ParadeDB - ParadeDB is an ElasticSearch alternative built on Postgres, engineered for lightning-fast full text, similarity, and hybrid search.

Site Search 360 - Site Search 360 enhances and improves your built-in CMS or product search with autocompletion, semantic search, filters, facets, detailed analytics, and a whole lot of customization options.