How are you searching your Mac for keywords? Are you using the search field or are you using a smart album? I am getting very different results when using a smart album compared to the search field. A smart album, for example with the rule "keyword is ..." is showing all photos with the keyword, and only the photos with the keyword, showing the indexing is correct, while the search field is showing a selection of items related to the search string. To see, if the indexing is correct, you may want to test with a smart album.
- The smart album "Keyword is Bird" is finding 3038 photos and 13 videos.

- The search for "Bird" is given mixed results - 3059 items including photos with any metadata with "Bird" as a text:

Photos for Mac used to have a specific search result labelled "keyword", that is gone now in macOS 26 Tahoe.
Searching on my iPhone 15 Pro Max for "Bird" ais giving nearly the same result - the differences might be explained by the iCloud syncing, that has been paused. 
The iPhone is still including the keywords in the results for a text search, even if it is not showing the keywords. but the search on the Mac is now as limited as in the iPhone; I am very glad the Mac is still supporting keywords in the smart albums.