# 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

_FT_HTML5_bannerTitle.htm