Searching different types of words

2003-11-25 Thread Pleasant, Tracy
If I search for like I would want the search to return documents
containing like, liked, likes, etc.. variations of the word.

Is there a way to tell Lucene to do this? 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Searching different types of words

2003-11-25 Thread Otis Gospodnetic
Yes.
For this particular example, PorterStemFilter will do the job.
For more complex things (e.g. a search for car returning car, auto,
automobile, vehicle) you'll need to add thesaurus-like capability to
your indexer.  This can be done by writing a custom Analyzer.

It sounds like you have a lot of questions, but have not read much
Lucene documentation. :)

Otis


--- Pleasant, Tracy [EMAIL PROTECTED] wrote:
 If I search for like I would want the search to return documents
 containing like, liked, likes, etc.. variations of the word.
 
 Is there a way to tell Lucene to do this? 



__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Searching different types of words

2003-11-25 Thread Pete Lewis
Hi

I'd recommend Kstem over Porter, it performs much better on English let
alone when you get to other languages. You can get the source code for
Kstem.jar at teh following website:

http://ciir.cs.umass.edu/downloads/

Pete

- Original Message - 
From: Otis Gospodnetic [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 5:42 PM
Subject: Re: Searching different types of words


 Yes.
 For this particular example, PorterStemFilter will do the job.
 For more complex things (e.g. a search for car returning car, auto,
 automobile, vehicle) you'll need to add thesaurus-like capability to
 your indexer.  This can be done by writing a custom Analyzer.

 It sounds like you have a lot of questions, but have not read much
 Lucene documentation. :)

 Otis


 --- Pleasant, Tracy [EMAIL PROTECTED] wrote:
  If I search for like I would want the search to return documents
  containing like, liked, likes, etc.. variations of the word.
 
  Is there a way to tell Lucene to do this?



 __
 Do you Yahoo!?
 Free Pop-Up Blocker - Get it now
 http://companion.yahoo.com/

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]