Re: searching with stemming

2014-06-10 Thread Jamie
Done. https://issues.apache.org/jira/browse/LUCENE-5749 On 2014/06/10, 1:18 AM, Jack Krupansky wrote: Please do file a Jira. I'm sure the discussion will be interesting. -- Jack Krupansky - To unsubscribe, e-mail: java-user-

Re: searching with stemming

2014-06-09 Thread Jack Krupansky
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 eac

Re: searching with stemming

2014-06-09 Thread Jamie
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 construc

Re: searching with stemming

2014-06-09 Thread Jack Krupansky
mprovement. -- 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, e

Re: searching with stemming

2014-06-09 Thread Jamie
Benson. Thanks. I was just hoping to avoid a whole bunch of boilerplate. On 2014/06/09, 1:07 PM, Benson Margulies wrote: 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 o

Re: searching with stemming

2014-06-09 Thread Benson Margulies
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.

Re: searching with stemming

2014-06-09 Thread Jamie
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" wrote: To me, it seems strange that

Re: searching with stemming

2014-06-09 Thread Benson Margulies
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" wrote: > To me, it seems strange that these default analyzers, don't provide > constructors that enable one to override stemming, etc? > > On 201

Re: searching with stemming

2014-06-09 Thread Jamie
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 wrote: Greetings Our app currently uses language specific analysers (e.g. EnglishAnalyzer,

Re: searching with stemming

2014-06-09 Thread Trejkaz
On Mon, Jun 9, 2014 at 7:57 PM, Jamie 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 stem

Re: searching with stemming

2014-06-09 Thread Jamie
Benson Yes, I can of course do this, as far I can see I would have to override each analyzer. This is a pain. Regards Jamie On 2014/06/09, 12:29 PM, Benson Margulies wrote: You should construct an analysis chain that does what you need. Read the source of the relevant analyzer and pick the to

Re: searching with stemming

2014-06-09 Thread Benson Margulies
You should construct an analysis chain that does what you need. Read the source of the relevant analyzer and pick the tokenizer and filter(s) that you need, and don't include stemming. On Mon, Jun 9, 2014 at 5:57 AM, Jamie wrote: > Greetings > > Our app currently uses language specific analyser

searching with stemming

2014-06-09 Thread Jamie
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 w