name (string) A server defined search that may match any of the string fields in the HumanName, including family, given, prefix, suffix, suffix, and/or text
Apparently HAPI based servers ignore text attribute in name search which might be relevant in some cases.
HAPI Patient and Practitioner search is not inline with FHIR specification.
Given the test resource with name:
Search request http://hapi.fhir.org/baseDstu3/Practitioner?name=Madame does not return any data even if there is matching HumanName.text in following resource: http://hapi.fhir.org/baseDstu3/Practitioner/1865543
FHIR spec suggest following thing:
Apparently HAPI based servers ignore text attribute in name search which might be relevant in some cases.