Debugging approach
Baxter's latest makes sense. Failing that, I would probably try debugging like:
Make sure the db is full-text indexed. (I know, duh, right? But I've overlooked
that before more than once.)
I'd also make sure the query works in Notes, with the specified view. First I
would probably do a print statement to check in the server console the name
values you're trying, so I could use them in the query in Notes.