lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Lea" <ian....@gmail.com>
Subject Re: Indexing Names in Lucene -- Thomas = Tom, etc
Date Wed, 03 Dec 2008 09:17:04 GMT
Hi


To get from Thomas to Tom you'll need to use synonyms.  For Thom you
would have been able to use prefixes or wild cards.

If you google for lucene synonyms you'll find loads of stuff.  Also, I
believe that Solr has built in support for synonyms.


--
Ian.


On Wed, Dec 3, 2008 at 6:16 AM, Khawaja Shams <ksshams@gmail.com> wrote:
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message