Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Apache Solr 7.x

You're reading from  Mastering Apache Solr 7.x

Product type Book
Published in Feb 2018
Publisher Packt
ISBN-13 9781788837385
Pages 308 pages
Edition 1st Edition
Languages
Authors (3):
Sandeep Nair Sandeep Nair
Profile icon Sandeep Nair
Chintan Mehta Chintan Mehta
Profile icon Chintan Mehta
Dharmesh Vasoya Dharmesh Vasoya
Profile icon Dharmesh Vasoya
View More author details

Basics of Solr indexing


In order to make content available for searching, we need to index it first—as simple as that! The process of indexing essentially involves any one of the three activities as shown in this diagram:

Let's drill down and look at the indexing process, which has the following main actions:

  • Adding content to the Solr Index
  • Updating the index
  • Deleting from the index

Now, there are two basic questions that might arise in your mind:

  • From where does Solr accept data to be indexed? Or what are different sources from where data can be indexed?
  • How do we index data from the sources that we have identified?

Common sources that the Solr index can get data from are:

  • Database tables
  • CSV files
  • XML files
  • Microsoft Word or PDF

The answers to "How does the Solr index get data from the aforementioned sources?" are as follows:

  • Using client APIs
  • Uploading XML files using HTTP requests to the Solr server
  • Using the Apache Tika-based Solr Cell framework to ingest proprietary data formats, such as Word or...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}