The weight of the child server.
The weight sets the ratio in which DIH distributes documents to the child servers. For example, if server 0
has weight 1
and server 1
has weight 2
then for every document server 0
receives server 1
receives two.
You can set a weight of 0
to add no documents to a child server.
DIH respects child server weights only in simple non-mirror distribution and consistent hashing modes.
Type: | Long |
Default: | 1 |
Required: | No |
Configuration Section: | IDOLServerN or DIHEngineN |
Example: | Weight=2
|
See Also: | MirrorMode
UseConsistentHashing |
|