Full text search query for the word "Pokemon" doesn't return results with "Pokémon"

I’ve got fulltext index on the predicate

<game.name>: string @index(fulltext, hash) @upsert .

Here’s the full query:

 {
        games(func:has(game), orderdesc:game.popularity,first:10) @filter(alloftext(game.name,"Pokemon")) {
         game.coverUrl
         game.name
         game.platform
         uid
 }}

Can you try the following?

 {
        games(func:has(game.name), orderdesc:game.popularity,first:10) @filter(alloftext(game.name,"Pokemon")) {
         game.coverUrl
         game.name
         game.platform
         uid
 }}

or

 {
        games(func:type(game), orderdesc:game.popularity,first:10) @filter(alloftext(game.name,"Pokemon")) {
         game.coverUrl
         game.name
         game.platform
         uid
 }}
But for this you need to set dgraph.type predicate to `game`.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.