Solr (pronounced “solar”) is an open source enterprise search platform, written in Java, from the Apache Lucene project. Its major features include full-text search, hit highlighting, faceted search, real-time indexing, dynamic clustering, database integration, NoSQL features[2] and rich document (e.g., Word, PDF) handling. Providing distributed search and index replication, Solr is designed for scalability and fault tolerance.[3] Solr is widely used for enterprise search and analytics use cases and has an active development community and regular releases.
Solr runs as a standalone full-text search server. It uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it usable from most popular programming languages. Solr’s external configuration allows it to be tailored to many types of application without Java coding, and it has a plugin architecture to support more advanced customization.
Apache Lucene and Apache Solr are both produced by the same Apache Software Foundation development team since the two projects were merged in 2010. It is common to refer to the technology or products as Lucene/Solr or Solr/Lucene.
http://lucene.apache.org/solr/
Binarys for this installation, download and unzip
http://apache.uib.no/lucene/solr/7.5.0/
Downloading in virtual machine (win server 2008 R2)
solr-7.5.0.tgz for Linux/Unix/OSX systems
solr-7.5.0.zip for Microsoft Windows systems
solr-7.5.0-src.tgz the package Solr source code. This is useful if you want to develop on Solr without using the official Git repository.
When you’re ready to setup Solr for a production environment, please refer to the instructions provided on the Taking Solr to Production page.
http://lucene.apache.org/solr/guide/7_5/taking-solr-to-production.html#taking-solr-to-production
Starting Solr:
If you are running Windows, ~ bin\solr.cmd start
You will need the Java Runtime Environment (JRE) version 1.8 or higher.
jre installed
JAVA_HOME
Start Solr
- solr.cmd start
- solr -help
- solr stop -p 8983
- solr status
- solr -e techproducts
https://lucene.apache.org/solr/guide/6_6/running-solr.html
Solr also provides a number of useful examples to help you learn about key features. You can launch the examples using the -e flag. For instance, to launch the “techproducts” example, you would do:
solr -e techproducts, stop it if it is already running.
Techproducts
techproducts: This example starts Solr in standalone mode with a schema designed for the sample documents included in the $SOLR_HOME/example/exampledocs directory. The configset used can be found in $SOLR_HOME/server/solr/configsets/sample_techproducts_configs.