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...