How can I use the slop parameter, or achieve the same functionality, with the Completion Suggester?
An example use for this is if a User is typing the query "Quick fox"
, and I have the document "Quick Brown Fox"
, I want to be able to suggest the document "Quick Brown Fox"
.
Documents: ["Quick Brown Fox", "Quick foxes", ...]
Query:
>> "Quick fox"
Results:
>> "Quick foxes"
>> "Quick Brown Fox"
>> ...