I would recommed to install latest version of JRE by downloading JDK from Oracle site “http://www.oracle.com/technetwork/java/javase/downloads/index.html.”, you can check what version is runnng in your local machine by simply executing this command “java -version”
Install Solr ?
Open the below Url and click on Download link, the download link will redirect to mirror site, where you can find all verison’s of Solr installation setup files
Download the solr-6.2.1.zip file into your local machine and extract it
Once the folder is extracted then to launch Solr you need to run the below command in command prompt,
The solr start command start the solr instance and to stop solr you need to run stop command by specifying port number
If you get below screen when you run “solr start” then the Solr is successfully up and running in your local machine
You can open Solr dashboard by hitting this url “http://localhost:8983/solr/#/” and the dashboard looks like below
The next step is create a core, the core is single index repository, when you upload files in to Solr the content and fields index’s of uploaded document’s will be created in core, every core has it’s own schem.xml and solrconfig.xml, you can have multiple cores in single instance each core talks about specific set of data ex: create core for employee information and another core customer’s information
The below command creates a core called core_directory
Once the core_directory is created then the next step is upload pdf file in to the directory to index content of file, run the below command to upload userguide.pdf file into Solr, the literal.id is uniqueid
A technology enthusiast and a professional blogger from India. Through out my IT career, I have had the pleasure of working on various new technologies and built products like www.ziprides.com and some other products. Unfortunately, my attempts have not given me the desired results and as a result, I have finally decided to build a professional blog where I would like to share all my learnings and hoping to learn from other enthusiasts around the world.