lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <ben...@basistech.com>
Subject Re: searching with stemming
Date Mon, 09 Jun 2014 11:07:53 GMT
Analyzer classes are optional; an analyzer is just a factory for a set of
token stream components. you can usually do just fine with an anonymous
class. Or in your case, the only thing different for each language will be
the stop words, so you can have one analyzer class with a language
parameter.
On Jun 9, 2014 7:02 AM, "Jamie" <jamie@mailarchiva.com> wrote:

> I am not using Solr. I am using the default analyzers...
>
> On 2014/06/09, 12:59 PM, Benson Margulies wrote:
>
>> Are you using Solr? If so you are on the wrong mailing list. If not, why
>> do
>> you need a non-
>> -anonymous analyzer at all.
>> On Jun 9, 2014 6:55 AM, "Jamie" <jamie@mailarchiva.com> wrote:
>>
>>  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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message