You can set up sharding using either manual or dynamic shard registration. Alfresco recommends that you use dynamic shard registration because it is much more easier to implement than manual sharding. back to top
General rule of thumb is to divide the total number of documents by 50M (million). If you want to increase the query load or support more than 100 concurrent users, then check the memory specifications or the I/O specifications of the installation machine. back to top
This should allow the user to store anywhere between 50 million - 80 million documents in a single shard. For more information, see the Alfresco Platform News and Alfresco I billion documents press release with Amazon Aurora.
Note that changing the number of shards requires a reindex.back to top
Sharding only works if SSL is disabled. Make sure you configure the Solr and Alfresco SSL setting properly. For more information, see Running Solr without SSL.back to top
Before sharding your Solr index, it is important to consider your query load and the size of your repository. You need to create machines to host Solr. For more information, see Installing and configuring Solr 4. For example, if you need 5 shards, you need to setup those 5 machines, and have Solr instances running on all the 5 machines. Once your machines are ready, you are ready to set up or register shards.
For more information, see Dynamic shard registration.back to top
Yes. After upgrading to Alfresco One 5.1.5, continue to use the old search index server as before, setup a new sharded Solr server with the rerank template to reindex the data, and finally, switch over to the new sharded index once the indexing is done and the sharded Solr server is up-to-date.
Upgrading from Alfresco One 5.0 and earlier versions with Solr 4 to Alfresco One 5.1.5 (with zero downtime)
Upgrading from Alfresco One 4.x and earlier versions with Lucene to Alfresco One 5.1.5 (search service will be unavailable while the indexes are being built
Upgrading from Alfresco One 5.0 and earlier versions with Solr 1 to Alfresco One 5.1.5 (with zero downtime)back to top
Go to the Solr Admin Web interface at https://localhost:8443/solr4/#/alfresco and monitor the value of Approx transactions remaining. If the value is 0, it indicates that the index up-to-date.
back to top
Yes. In a sharded setup, eventual consistency can introduce additional query inconsistencies.
A node can move between shards either by:When this happens, the shards may index at different rates. It is possible to see:
Indexing is eventually consistent. When updates happen at the same time, no inconsistency is seen.back to top