Keyword Groups

Keyword Groups can be used as synonyms to ensure that terms catch alternative phrases to optimise your player's search function. By setting up Keyword Groups, a relationship is created between keywords. A search for any term in a keyword group will return results for all keywords in the group.

A group can contain multiple terms. If a keyword is matched, all other terms in that group are searched.

For Example: ‘Crime’ is created as a group and includes the keywords ‘crime, murder, kill, blood’, then searching for ‘kill’ will also return results for searches of the words ‘crime’, ‘murder’ and ‘blood’.

2023-11-24_17-13-02.jpg

 

 

Important


There are a few fundamental rules with how CloudSeach works that we do not have control over. These are coming into play here. Rules (taken from CloudSearch documentation:

  • Terms separated by whitespace are treated as separate tokens.
  • Terms separated by ASCII punctuation are treated as separate tokens
  • If a string contains both alphabetic and numeric characters and is at least three and no more than nine characters long, the alphabetic and numeric portions of the string are treated as separate tokens

Example:

K-Pop, KPop, Korean, Korea


So with this particular example, the searching “Korea” will return the same as a "Pop" search. This is because of the "K-Pop" keyword which is in the same keyword group. As per point 2 above, the punctuation “-“ is removed and so the search is actually performing on “K” and “Pop”. “Pop” then picks up the usual pop results. “K” as a single character is then stripped out when wildcarding is off.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.