Match query on trigram list not working as expected #4494
Labels
area/querylang
Issues related to the query language specification and implementation.
kind/bug
Something is broken.
status/accepted
We accept to investigate/work on it.
What version of Dgraph are you using?
1.1.1
Have you tried reproducing the issue with the latest release?
yes
What is the hardware spec (RAM, OS)?
RAM: 1GB
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
Steps to reproduce the issue (command/config used to run Dgraph).
Lets say I have the following schema:
And I have the following data:
I got the result of the previous 2 nodes if I query
I got the result of the pokemon title if I query
So far so good since both terms are exact
Expected behavior and actual result.
But if I do query (note the term "pokenon" being 1 step away considering levenshtein distance )
I got 0 results when the expected result is that I should get the pokemon product node
Note that it works if I query
It works when the 1 step is add/remove letter, but not replacement of letter
I hope you can fix this, since this is the only think is keeping me of using this solution instead elasticsearch for a project
The text was updated successfully, but these errors were encountered: