Apache Solr Index Sample Data
Start Apache Solr instance using " solr start " from bin directory of Apache Solr home directory. Or see first article how to setup Apache Solr and start it first time . Create New Core Before we index sample data, we must create a core. Core is like a table that contain many records and has a unique configuration. Each record in Solr is called a document . So we create core and add documents to it which are indexed by the Solr, so that we could search. One Solr instance may have more than one cores, each with different set of documents and unique configurations. So we need to create a core, before we add documents into it. Here is how we create a core: 1. In CLI, go to bin directory e.g. D:\solr-6.4.2/bin> and issue following command: solr create -c core1 -d basic_configs -c specifies the core name -d specifies the folder that contains core configuration data. Solr instance already have a folder named basic_configs which contains default configuration inf...