in reply to Fuzzy hash key lookups
A sorted search tree might be the solution you are looking for, but that depends on what you mean by "fuzzy". Do you want to do a "nearest" query, nearest measured over the way you have sorted your data? In that case, a tree will work. Or do you mean that if you search with "abadabafupla", a result of "abadabaxupla" is wanted because there's only on letter that's different? In that case you need a completely different datastructure.
Of course, any datastructure whose search queries take a scalar and give a scalar as return can be hidden being a tied hash.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Fuzzy hash key lookups
by c0bra (Acolyte) on Aug 01, 2002 at 15:29 UTC | |
by Abigail-II (Bishop) on Aug 01, 2002 at 16:50 UTC |