This seems to use Levenshtein distance for fuzzy matching, which is useful but in this case I'm strictly looking for substrings.
LD of 1 means that if I have this data:
Some
Now
And I search for %som% it should match only Some, but for some reason it's also matching Now, even though this should be an LD of 2.
In either case, I'd like to search for "ome" and only get Some, not Now. This is strictly substring with no LD taken into account.
In Postgres you would use this in a WHERE clause
WHERE word LIKE '%ome%'
Does this make sense?
--
You received this message because you are subscribed to the Google Groups "redisearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redisearch+...@googlegroups.com.
To post to this group, send email to redis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redisearch/6039dcd8-762c-49d3-84b5-8d84623167bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Notice that in SQL engines, this is done by a full scan and not by indexing.
On Fri, Jun 1, 2018, 9:08 PM Alejandro Wainzinger <aikawa...@gmail.com> wrote:
Thanks for the response Kyle.
This seems to use Levenshtein distance for fuzzy matching, which is useful but in this case I'm strictly looking for substrings.
LD of 1 means that if I have this data:
Some
Now
And I search for %som% it should match only Some, but for some reason it's also matching Now, even though this should be an LD of 2.
In either case, I'd like to search for "ome" and only get Some, not Now. This is strictly substring with no LD taken into account.
In Postgres you would use this in a WHERE clause
WHERE word LIKE '%ome%'
Does this make sense?
--
You received this message because you are subscribed to the Google Groups "redisearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redisearch+unsubscribe@googlegroups.com.
To post to this group, send email to redis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redisearch/6039dcd8-762c-49d3-84b5-8d84623167bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "redisearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redisearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redisearch/CABV6xQC1HQWoo7x_MwOq4UQ%2BOgAUKr_YFaZEBqFYoFUFdxVAOw%40mail.gmail.com.
Hello Alejandro,This sounds like a nice feature request, please feel free to submit it.Also, thanks for reporting the issue about numbers' fuzzy search - AFAIK digits are not indexed, but I'll let the devs answer in the repo.> And I search for %som% it should match only Some, but for some reason it's also matching Now, even though this should be an LD of 2.Please open an issue for that as well.P.S. yo @dvirsky :)Cheers,
On Fri, Jun 1, 2018 at 10:05 PM, Dvir Volk <dvi...@gmail.com> wrote:
Notice that in SQL engines, this is done by a full scan and not by indexing.
On Fri, Jun 1, 2018, 9:08 PM Alejandro Wainzinger <aikawa...@gmail.com> wrote:
Thanks for the response Kyle.
This seems to use Levenshtein distance for fuzzy matching, which is useful but in this case I'm strictly looking for substrings.
LD of 1 means that if I have this data:
Some
Now
And I search for %som% it should match only Some, but for some reason it's also matching Now, even though this should be an LD of 2.
In either case, I'd like to search for "ome" and only get Some, not Now. This is strictly substring with no LD taken into account.
In Postgres you would use this in a WHERE clause
WHERE word LIKE '%ome%'
Does this make sense?
--
You received this message because you are subscribed to the Google Groups "redisearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redisearch+...@googlegroups.com.
To post to this group, send email to redis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redisearch/6039dcd8-762c-49d3-84b5-8d84623167bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "redisearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redisearch+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redisearch/CABV6xQC1HQWoo7x_MwOq4UQ%2BOgAUKr_YFaZEBqFYoFUFdxVAOw%40mail.gmail.com.