I have two documents:
{id: 1, name: "james"}
{id: 2, name: "james kennedy"}
I am using the match_bool_prefix
API for autocomplete, and I would like to be able to match the document with id: 1
even if I incorrectly spell james
.
Query: jamis
Desired output: finding document with id: 1
.