Web Server and Solr Cloud Configuration
Prerequisites
- Planning your Locator Search SolrCloud setup
- Installing/configuring a Primary Server in a multi-server environment
- Installing/Configuring a Secondary Search Server
Configuration
This is a guide to set up SolrCloud on multiple search servers. It's assumed that you have completed configuring the primary server and all secondary search servers, see Prerequisites. You need to have decided on the number of shards for your SolrCloud. This guide will create 6 shards without replication
Note: This guide requires the current index to be deleted, requiring a re-index of all data.
- Go to http://localhost:8983/solr/#/~collections/ViaWorksCloud
- Delete the ViaWorksCloud collection, by clicking Delete and confirming the deletion.
On the primary server: Run the command (this will create 6 shards divided on the servers WITHOUT replication) (In Program Files\ayfie\Locator\SOLR\bin)
solr create -c ViaWorksCloud -d "C:\ProgramData\ayfie\Locator\Solr\configsets\ViaWorksCloud" -shards 6 -replicationFactor 1 -p 8983
- On the primary server: Verify that logs are OK (http://localhost:8983/solr/#/~logging) and the SOLR dashboard now shows 6 shards divided between the servers (http://localhost:8983/solr/#/~cloud)
- On the primary server: Reindex all data using the Via.repository tool and monitor the reindexing.
ayfie