Post

Getting started Apache Solr

For the past few months, I’ve had the opportunity to perform implementation, configuration, adaptation, and transition tasks for SQL queries on a high-performance web application using Apache Solr.



This has allowed me to get closer to the technology and take my first steps in this magnificent search tool, where I learn something new every day.

Apache Solr is an open-source search engine based on Apache Lucene.

Internally, Apache Solr uses indexed documents, organized in cores, allowing us to consume them through its specific Solr library for the technology we are using.

Performing queries and consuming standard formats such as XML or JSON.

You can download the Solr library for .NET here.

By default, Apache Solr uses the Jetty server. Although it is not recommended in production environments (Tomcat would be the ideal option due to its high degree of reliability and performance). Its main administration interface is done via Web:



It allows the replication and synchronization of indexes with any database using standards under the HTTP protocol, achieving high availability, compatibility, and scalability. Being able to install it on any type of server on any operating system.

The previous expectations regarding performance improvement, after the initial adaptation, implementation, and measurement, are being met. Improving times greatly and in all cases. Still, there is a lot of work to be done on improvement and optimization.

In view of its potential, I realize that it is an essential tool to use in high-performance environments and architectures.

This is how countless leading portals on the Internet do it today:

Twitter migrated its search system. You can read the related news here: New Twitter Gets New Search Engine.

Trovit published a document with interesting information about its architecture with Apache Solr: Usage of Solr at Trovit A search Engine For Classified Ads.

Some essential resources:

Getting Started with Apache Solr


Little by little, I will be adding new suggestions or ideas that can solve setbacks in my journey with Solr that can guide or help you. Similarly, I encourage you to comment by doing the same.

For now, that’s all. Patience and good luck.

This post is licensed under CC BY 4.0 by the author.