Home » Enterprise Java » Apache Solr

Apache Solr

Apache Solr on Docker Example

In this article, we will show you an example about Apache Solr on Docker. 1. Introduction Apache Solr is a popular open-source search platform built on Apache Lucene. Docker is the leading container platform that allows developers to isolate their app from its environment by packaging software into standardized units for development, shipment, and deployment. In this example, we are ...

Read More »

Apache Solr in Java: Using Apache SolrJ

In this example, we are going to show you how to use Apache SolrJ to index data in Solr and query from Solr. 1. Introduction Apache Solr is a popular open-source search platform built on Apache Lucene. If we take a 30000-foot view, Solr is a web application and HTTP is the fundamental protocol used between client applications and Solr. ...

Read More »

Apache Solr and Apache Tika Integration Tutorial

This article is a tutorial about Apache Solr and Apache Tika Integration. 1. Introduction A Solr index can accept data from many different sources, such as CSV, XML, databases and common binary files. If the data to be indexed is in binary format, such as WORD, PPT, XLS, and PDF, the Solr Content Extraction Library (the Solr Cell framework) built ...

Read More »

Apache Solr OpenNLP Tutorial – Part 2

1. Introduction In Part 1 we’ve set up Apache Solr OpenNLP integration and used its analysis components, tokenizer, and filters, to process and analyze the sample data. In this example, we are going to explore another powerful feature provided by Solr OpenNLP integration: extracting named entities at index time by using OpenNLP NER (Named Entity Recognition) model. Table Of Contents ...

Read More »

Apache Solr OpenNLP Tutorial – Part 1

This is an article about Apache Solr OpenNLP. 1. Introduction Natural Language Processing (NLP) is a field focusing on processing and analyzing human languages by using computers. Using NLP in a search will help search service providers to have a better understanding of what their customers really mean in their searches, thus to run search queries more efficiently and to ...

Read More »

Apache Solr Fuzzy Search Example

1. Introduction In this example we are going to build queries by using fuzzy search provided by Apache Solr. Fuzzy search is a powerful tool to find inexact matches in the Solr index. 2. Technologies Used The steps and commands described in this example are for Apache Solr 8.5 on Windows 10. The JDK version we use to run the ...

Read More »

Apache Solr Standard Query Parser Example

1. Introduction In this example, we are going to talk about one key component of Apache Solr: the Standard Query Parser. It is also known as “Lucene” query parser because Apache Solr is built upon Apache Lucene. Then we will show you how to use it in queries against our sample articles collection. Table Of Contents 1. Introduction 2. Technologies ...

Read More »

Apache Solr Function Query Example

1. Introduction In this example, we are going to explain what the Apache Solr Function Query is and how to use it in queries against our sample articles collection. 2. Technologies Used The steps and commands described in this example are for Apache Solr 8.5 on Windows 10. The JDK version we use to run the SolrCloud in this example ...

Read More »

Apache Solr Clustering Example

In this article, we will demonstrate an Apache Solr Clustering Example. We are going to show you how to set up and run a SolrCloud with two Solr servers and an embedded ZooKeeper instance on your local machine. Once it is up and running, we will show you how to use it to index our sample article collection and how ...

Read More »

Apache Solr Hello World Example

1. Introduction Apache Solr is a powerful tool for real-time enterprise search. It is a REST-API based open source tool. It’s main functionalities are indexing and searching. It’s core search functionality is built using Apache Lucene Framework and has some excellent optimization features. It is written in Java Language.                 Features of Apache ...

Read More »