GitHub user k255 opened a pull request:
https://github.com/apache/drill/pull/224
DRILL-3747: basic similarity search with simmetric
Helps handling i.e. typos in search queries with popular algorithms like
levenshtein.
Sample query:
```
select levenshtein('foo', 'boo') from (VALUES(1)); //gives 0.67
```
and
```
select levenshtein('foo', 'bar') from (VALUES(1)); //not similar - gives 0
```
More:
https://github.com/k255/drill-fuzzy-search
https://en.wikipedia.org/wiki/Levenshtein_distance
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/k255/drill drill-fuzzysearch
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/224.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #224
----
commit 51248358adf7ee71a744cccb7a22b45850f192a8
Author: potocki <[email protected]>
Date: 2015-10-30T18:54:41Z
basic similarity search with simmetric
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---