# Weight

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.

NOTE: DIH respects child server weights only in simple non-mirror distribution and consistent hashing modes.

You can use only a single value for `Weight`, even if you create a server group by specifying a comma-separated list of host names in the Host parameter, because the child servers in a group must be mirrors.

Type: | Long
Default: | 1
Required: | No
Configuration Section: | IDOLServer`N` or DIHEngine`N`
Example: | `Weight=2`
See Also: | MirrorMode UseConsistentHashing

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm