Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To configure the secondary server to be an additional web server and Solr Cloud node, follow these steps. 

...

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.
    Image Added

  3. On the primary server: Run the command (this will create 6 shards divided on the

...

  1. servers WITHOUT replication) (In Program Files\

...

  1. ayfie\

...

  1. Locator\SOLR\bin)

    Code Block
    languagexml
    solr create -c ViaWorksCloud -d "

...

  1. C:\ProgramData\

...

  1. ayfie\

...

  1. Locator\Solr\configsets\ViaWorksCloud" -shards 6 -replicationFactor 1 -p 8983

...



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

...


  1. Image Added
  2. On the primary server: Reindex all data using the Via.repository tool

...

  1. and monitor the reindexing.