When using menu search, each search item has multiple segments. In the UI, we only highlight last section, which is the actual node/operator name. The menu path is grayed out. It seems reasonable to give greater weight to the words in the search item that are highlighted. See #112839 for an example of what effect this can have. Pull Request: https://projects.blender.org/blender/blender/pulls/112839