Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

Prerequisites

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.

  1. Go to http://localhost:8983/solr/#/~collections/ViaWorksCloud
  2. Delete the ViaWorksCloud collection, by clicking Delete and confirming the deletion.


  3. 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\ViaWorksCloud" -shards 6 -replicationFactor 1 -p 8983

  4. 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)

  5. On the primary server: Reindex all data using the Via.repository tool and monitor the reindexing.


  • No labels