If you want to query for Tom, then you need to index the value Tom. Create one more field as Alias or add alias name as part of name field.

Regards
Ganesh

----- Original Message ----- From: "Khawaja Shams" <[EMAIL PROTECTED]>
To: <java-user@lucene.apache.org>
Sent: Wednesday, December 03, 2008 11:46 AM
Subject: Indexing Names in Lucene -- Thomas = Tom, etc


Hello,  I am indexing documents with a field that contains the first and
last name of people. It is working wonderfully with a slight issue: if
Thomas is indexed for a document, I would like searches for Tom to match
that document. I am sure this is a common problem that many of you must have
addressed, but I was unable to find anything in the archives or on Google.
Thanks in advance for the guidance.


Regards,
Khawaja Shams


Send instant messages to your online friends http://in.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to