Go here

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters?highlight=%28ste
mming%29#head-88cc86e4432b359030cffdb32d095062b843d4f5

Look for this 

solr.PorterStemFilterFactory


On 8/13/07 1:50 PM, "David Whalen" <[EMAIL PROTECTED]> wrote:

> Thanks, guys.  I'm sure that by the time I get the book and
> learn all about Lucene the CEO of my company will have insisted
> we find another search engine.  But the book will look great
> on my coffee table....
> 
> 
>   
> 
>> -----Original Message-----
>> From: Lance Norskog [mailto:[EMAIL PROTECTED]
>> Sent: Monday, August 13, 2007 4:37 PM
>> To: solr-user@lucene.apache.org
>> Subject: RE: Problem with stemming
>> 
>> (Oops, try again.)
>> 
>> You need this book:
>> 
>> http://www.amazon.com/Lucene-Action-Erik-Hatcher/dp/1932394281
>> /ref=pd_bbs_sr
>> _1/103-4871137-7111056?ie=UTF8&s=books&qid=1187037246&sr=8-1
>> 
>> Lucene in Action by Eric Hatcher and Otis Gospodnetic.  It
>> does not cover Solr really, but you will understand what
>> Lucene does and how it works.
>> Until then you will not really get anywhere.
>> 
>> Cheers,
>> 
>> Lance 
>> 
>> -----Original Message-----
>> From: David Whalen [mailto:[EMAIL PROTECTED]
>> Sent: Monday, August 13, 2007 1:00 PM
>> To: solr-user@lucene.apache.org
>> Subject: RE: Problem with stemming
>> 
>> Yonik:
>> 
>> I only raised the question to the group after I had looked in
>> the schema.xml.  There are a lot of comments in that file,
>> but they make no sense to me.
>> 
>> I'd appreciate some specific help on what to do...
>> 
>> DW
>> 
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>> Behalf Of Yonik 
>>> Seeley
>>> Sent: Monday, August 13, 2007 3:28 PM
>>> To: solr-user@lucene.apache.org
>>> Subject: Re: Problem with stemming
>>> 
>>> On 8/13/07, David Whalen <[EMAIL PROTECTED]> wrote:
>>>> Hi All.
>>>> 
>>>> We're running into a problem with stemming that I can't
>>> figure out.  
>>>> For example, searching for the word "transit"
>>>> (whether in quotes or not) returns documents with the word
>>>> "transition" in them.
>>>> 
>>>> How do I disable this?  We want our engine to be as literal as
>>>> possible.  If a user mis-types a word, that's too bad for them....
>>> 
>>> Use a different field-type for those fields that you want exact
>>> matching for (and then re-index).
>>> Read through schema.xml if you haven't... there are quite a few
>>> comments in there.
>>> You may want a field type with just a whitespace tokenizer
>> followed by 
>>> a lowercase filter.
>>> 
>>> -Yonik
>>> 
>> 
>> 

Thomas M. Mastre 
Manager, Homeland Security Digital Library

 
Center for Homeland Defense and Security
The Nation's Homeland Security Educator
1 University Circle
DKL, Room 112 
Monterey, Ca. 93943
Phone: 831.656.1095, Cell:831.238.1451
Fax:831.656.2619 
email: [EMAIL PROTECTED]
http://www.hsdl.org

Reply via email to