Skip navigation.
 
mlRe: A rant and a question...
FROM : Brad Bumgarner
DATE : Tue Jul 25 19:06:02 2006

On Jul 25, 2006, at 10:46 AM, Mike Blaguszewski wrote:
>
> I don't know how you're doing it now, but how about thinking about 
> it in terms of where the split point between first and last names 
> is. Then generate queries with each split point and OR them all 
> together. Oh, and for every query also include a version with First 
> and Last reversed if you want to handle reverse-entered names. For 
> example:
>
> (First = "" AND Last = "Betty Jo Bealoski") OR
> (First = "Betty" AND Last = "Jo Bealoski") OR
> (First = "Betty Jo" AND Last = "Bealoski") OR
> (First = "Betty Jo Bealoski" Last = ") OR
> (First = "Jo Bealoski" AND Last = "Betty") OR
> ...
> <snip>
>
> Oh, and an implementation note: create an NSArray of tokens right 
> away. If you try to run the algorithm using string indices you'll 
> go crazy.
>


Thanks for the approach, Mike. I should be able to write an algorthym 
to do that. I haven't even made it to the token field portion yet. 
However I do intend to send it an array of tokens. Once I GET the 
array, the tokens should be easy. (I say that now. lol)

Brad Bumgarner, CTA

Related mailsAuthorDate
mlA rant and a question... Brad Bumgarner Jul 25, 16:57
mlRe: A rant and a question... Shawn Erickson Jul 25, 17:16
mlRe: A rant and a question... I. Savant Jul 25, 17:16
mlRe: A rant and a question... I. Savant Jul 25, 17:21
mlRe: A rant and a question... Brad Bumgarner Jul 25, 17:46
mlRe: A rant and a question... Mike Blaguszewski Jul 25, 18:46
mlRe: A rant and a question... I. Savant Jul 25, 18:48
mlRe: A rant and a question... Brad Bumgarner Jul 25, 19:06
mlRe: A rant and a question... Matt Neuburg Jul 25, 19:34
mlRe: A rant and a question... Jerrod Fowkes Jul 25, 20:14
mlRe: A rant and a question... Nicko van Someren Jul 30, 13:54