Set up the solr service
Solr is highly reliable, scalable and fault tolerant, providing distributed indexing, replication and load-balanced querying, automated failover and recovery, centralized configuration, and more.
Solr uses the Lucene Java search library for full-text indexing and search. Your applications interact with Solr using HTTP POST (in JSON, XML, CSV, or binary formats) to index documents and using HTTP GET to retrieve search results back as JSON, XML, or a variety of other formats (Python, Ruby, PHP, CSV, binary, and so on). If you’re a programmer, try the Solr tutorial. Whether you’re a programmer or not, read the Solr FAQ.
We support Solr version 4.10.
The format exposed in the
You can then use the service in a configuration file similar to the following:
If you want to provide your own Solr configuration, you can add a
core_config key in your
directory parameter points to the Magento
vendor/magento/module-solr/conf directory, relative to the
.magento directory, in the Git repository. This directory contains the Magento schema.