Configuring the api.colony.indexer property for sharding
Sharding can be enabled by configuring the api.colony.indexer property in the yfs.properties_ysc_ext file.
The api.colony.indexer property can be set to one of the following values:
- ssi (Recommended) - This option enables sharding as well as utilizing the elasticsearch index server capabilities provided in the product to determine the shards from which to obtain data. This option is recommended and makes use of the in-built search server capabilities to provide higher performance for order and shipment data retrieval.
- nonindexed - This option enables sharding, and should be used when you are not using the search index server. This provides a mechanism for order and shipment data retrieval by ensuring that data is obtained from all shards.
- <custom value> - This option enables sharding, and should be used if you are using a custom implementation to determine order and shipment data retrieval in a sharded environment. In addition to this property, use the property api.colony.indexer.<custom value>.class to provide the name of the data retrieval implementing class.
- disabled (Default) - IBM® Sterling Selling and Fulfillment Foundation provides this option as the default configuration. This value disables sharding capabilities and allows the system to operate only with the default colony. This option should be used when you have a nonsharded environment.