lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: searching with stemming
Date Mon, 09 Jun 2014 23:18:19 GMT
Please do file a Jira. I'm sure the discussion will be interesting.

-- Jack Krupansky

-----Original Message----- 
From: Jamie
Sent: Monday, June 9, 2014 9:33 AM
To: java-user@lucene.apache.org
Subject: Re: searching with stemming

Jack

Thanks. I figured as much.

I'm modifying each analyzer with constructors that take a Stem argument:

   public enum Stem { AGGRESSIVE,  LIGHT, NONE };

This is obviously, not ideal,  20 or more Lucene classes must be
updated. I now need to maintain each analyzer.

Regards

Jamie

On 2014/06/09, 3:15 PM, Jack Krupansky wrote:
> I find the weak Javadoc even more troubling:
> http://lucene.apache.org/core/4_8_0/analyzers-common/org/apache/lucene/analysis/en/EnglishAnalyzer.html
>
> The real bottom line is that you are expected to "roll your own" in this 
> area.
>
> Feel free to file a Jira suggesting your suggested improvement.
>
> -- Jack Krupansky
>
> -----Original Message----- From: Jamie
> Sent: Monday, June 9, 2014 6:56 AM
> To: java-user@lucene.apache.org
> Subject: Re: searching with stemming
>
> To me, it seems strange that these default analyzers, don't provide
> constructors that enable one to override stemming, etc?
>
> On 2014/06/09, 12:39 PM, Trejkaz wrote:
>> On Mon, Jun 9, 2014 at 7:57 PM, Jamie <jamie@mailarchiva.com> wrote:
>>> Greetings
>>>
>>> Our app currently uses language specific analysers (e.g. 
>>> EnglishAnalyzer,
>>> GermanAnalyzer, etc.). We need an option to disable stemming. What's the
>>> recommended way to do this? These analyzers do not include an option to
>>> disable stemming, only a parameter to specify a list words for which
>>> stemming should not apply.
>>> Furthermore, my understanding is that the StandardAnalyzer is tied to
>>> English specifically.
>>


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


---------------------------------------------------------------------
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