That depends on how many strings an attribute can contain. Names are already separated into four parts (given, middle, family and family 2) so searching from the start for each part ensures a good hit rate when searching for a random part of the name.

For multi-string attributes this is different as there is only a single field in the database. MatchMode.ANYWHERE allows for more flexibility on the actual usage of custom attributes.