question

Tuomas Karmakallio avatar image
Tuomas Karmakallio asked

PlayerData Search functionality is not reliable

Search functionality for custom playerData fields seems to be very unreliable.


Problems I can reproduce always:

) Searching for custom playerData field with two letter string. Example field "playerLanguage" has values like ES or FI.

Searching with playerLanguage = "FI" will return players with "ES", and players with no "playerLanguage" field set whatsoever.

) Searching for custom playerData with playerName = "Victor" will return players with default "PlayerName".

) Searching for custom playerData with playerRegion = "Spain" returns 0 hits even though we have 3,000 players with playerRegion Spain.

) Trying to use NOT boolean operator never works.
playerIcon = "beer" returns players correctly, but
playerIcon NOT "beer" returns 0 hits

Player Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Hi, to be clear, only these fields listed here in PlayerProfile https://docs.microsoft.com/en-us/gaming/playfab/api-references/events/data-types/playerprofile can be queried. I can see that you are searching for Player Data which is not supported, hence it makes no sense to count on those searching results.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.