How to prioritize exact keyword match?


I have some objects in the index that correspond to boto3 apis eg. the title of the objects are “create an aws bucket”, " get aws ec2 metrics from cloudwatch", " list of eks namespaces" and so on. I have made aws and eks as synonyms. On searching “eks”, I expect to see “list of eks namespaces” as the topmost object. However, I see “create an aws bucket” on top. Is there a way that would prioritize the objects having the word “eks” and the objects with synonyms of “eks” show up later ?