/  Solr Tutorial

Solr Tutorial:

Apache Solr is open source software which can be used as a full-text Enterprise search platform.

It was derived from the Apache Lucene, a Java library that provides high performance full-text search engine that is written in Java programming language.

Apache Solr supports Full-text search engine capabilities, Indexing, Rich document processing, and clustering, faceted search. Solr can run as standalone full-text server and cloud server.

According to Apache, Lucene Search library is in the top 15 open source software projects and in top 5 from Apache projects which installed by 4000 companies.

Many applications are using the Apache Solr for Auto suggestions, spatial search, full-test log search, Range or category browsing using facets. Also enterprises which are using the FAST or Google Search Appliance (GSA) as a commercial search engine showing the interest in Apache Solr or Lucene implementations as this is open source and free to access the source for modifications as per the requirements.

Let’s quickly learn Solr and explore!!!

Understanding Architecture in solar:

We understand that Solr is a powerful full-text search engine from our previous Solr introduction tutorial. In this Solr architecture tutorial, we will learn about the way of communication with the browser request and response style. Solr is easy to integrate with web applications, Rich client or browser silent applications and mobile devices. Learn more..

How to install Solr?

In this tutorial, we will learn about how to install Solr in Linux and windows. It is easy to Install Solr in Linux or windows or any other platform where a Java Runtime Environment (JRE) is available. Let me show you the step by step process of Solr installation. Learn more..

What are the documents in solr?

We have completed the Solr installation process both in windows and Linux systems. Now it is the time to understand the things in practical. So, we need to learn how to work with Solr and its data. In this tutorial, we will learn about the Documents in Solr. Learn more..

Understanding Fields in solr:

In this tutorial, we will learn about the Fields and Field types in Solr.A piece of information which is related to particular type of data within a document can be identified as Field. Fields in Solr are like same as fields in RDBMS. Learn more..

What is Schema Design in solr?

In Solr, Schema.xml file is very important file in which the schema information is stored like details about the field types, fields, Unique key, how to index and search fields etc. schema file can be identified with the name Managed-schema under the Config directory Solr home. Learn more..

Understanding Analyzers in solr:

In Solr, Analyzers is one of the main concepts which deals with the breakdown of textual data while indexing or querying. When the data is added or updated in the documents of Solr Analyzer do the processing of text in fields and create a token stream. This kind of analysis need not be the same while indexing and querying. Learn more..

Understanding Tokenizers in solr:

In this tutorial, we will learn about the Tokenizers which are another important concept in Solr. Tokenizers in Solr used to break the data in the fields into number tokens. Tokenizers simply read the data as a continuous character stream and break them where ever specified like whitespaces, delimiters etc. Learn more..

What are filters in solr?

In this tutorial, we will learn about the filters in Solr which another important concept. As how the tokenizers work, the same way filters take the data stream and produce the filtered data. Its main job is to create another simplified token stream. Learn more..

Understanding Indexing in solr:

Indexing in Solr is nothing but adding the content to the Solr. So, the same content that will be searchable through Solr index again. A Solr index can get this data through various ways like XML, CSV files, directly from tables in the database and data from rich document format like Microsoft word and PDF. Learn more..

How to Add documents in Solr?

By Using the Request Handler we can add the documents to the index. Add, Update, Delete documents will come under Index Update commands. Because, whatever you add a new document or updating existing update will become a change to the existing index. This can be done by using the update handler. Learn more..

How to update documents in solr?

In this tutorial, we will learn about updating the existing documents of an index.By Using the Request Handler we can Update the documents to the index.Below is the example to update documents to the index. Learn more..

How to delete documents in solr?

In this tutorial, we will learn about deleting the existing documents of an index. By Using the Request Handler we can also delete the documents that are indexed. We need to delete the documents by id or query tags. Learn more..

Understanding searching in solr:

In this tutorial, we will discuss about searching in Solr. Generally, end users search for some information. In background the related Search query will be sent as a request to the Solr request handler for processing. The request handler will call the standard query parser which will parse the search query and generate the search response. Learn more..

Understanding Faceting in solr:

In this tutorial, we will learn about the Faceting in Solr. Faceting in Solr is nothing but searching in a way that we see generally in most of the e-commerce sites like Amazon, EBay searching for products of particular brand, price range and based on reviews to sort out the search results in a arrangement that we want. Learn more..