My use case really isn't names, I just used that as a simplification. I did look at the Synonym filter to see if I could implement a similar filter (if that was a more appropriate place to do so) but even after doing that I ended up with the same result.
On Wed, Jul 20, 2011 at 12:07 PM, Kyle Lee <randall.kyle....@gmail.com> wrote: > I'm not sure how to accomplish what you're asking, but have you considered > using a synonyms file? This would also allow you to catch ostensibly > unrelated name substitutes such as Robert -> Bob and Richard -> Dick. > > On Wed, Jul 20, 2011 at 10:57 AM, Jamie Johnson <jej2...@gmail.com> wrote: > >> I have a query which starts out with something like name:"john", I >> need to expand this to something like name:("john" "johnny"). I've >> implemented a custom tokenzier which gets close, but isn't quite right >> it outputs name:"john johnny". Is there a simple example of doing >> what I'm attempting? >> >