Re: PerFieldAnalyzerWrapper does not seem to allow use of a custom analyzer

2015-08-10 Thread Bauer, Herbert S. (Scott)
I found the problem here. I had changed some method params and was inadvertently creating the fields I was having issues with as StringFields, which the analyzer fails silently against. From: , Scott Bauer mailto:bauer.sc...@mayo.edu>> Date: Friday, August 7, 2015 at 1:56 PM To: "java-user@luce

RE: PerFieldAnalyzerWrapper

2009-11-29 Thread Uwe Schindler
://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Ganesh [mailto:emailg...@yahoo.co.in] > Sent: Monday, November 30, 2009 6:39 AM > To: java-user@lucene.apache.org > Subject: Re: PerFieldAnalyzerWrapper > > One small correction... > > My default An

Re: PerFieldAnalyzerWrapper

2009-11-29 Thread Ganesh
One small correction... My default Analyzer is snowball analyzer and it is being used for all fields (not KeywordAnalyzer) even though few fields should use different analyzer. PerFieldAnalyzerWrapper is not considering the analyzer set for different fields. This is consistently reproducing

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-31 Thread Michael J. Prichard
ROTECTED]> To: java-user@lucene.apache.org Sent: Saturday, July 29, 2006 4:04:23 PM Subject: Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected Hey Erik, Will do. May I ask why? Out of curiousity. Thanks, Michael Erik Hatcher wrote: I think you should use

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-30 Thread Otis Gospodnetic
Or simpler: wr = new IndexWriter(indexDir, aWrapper, !IndexReader.indexExists(indexDir)); - Original Message From: Michael J. Prichard <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Sunday, July 30, 2006 1:35:29 PM Subject: Re: PerFieldAnalyzerWrapper use? Analyzer

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-30 Thread Michael J. Prichard
Instead of catching the IOException, you may want to use !IndexReader.indexExists(...) in place of that boolean param to IndexWriter ctor. Otis - Original Message From: Michael J. Prichard <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Saturday, July 29, 2006 4:04:2

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-30 Thread Erik Hatcher
.apache.org Sent: Saturday, July 29, 2006 4:04:23 PM Subject: Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected Hey Erik, Will do. May I ask why? Out of curiousity. Thanks, Michael Erik Hatcher wrote: I think you should use a new instance of each analyze

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-29 Thread Otis Gospodnetic
IndexWriter ctor. Otis - Original Message From: Michael J. Prichard <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Saturday, July 29, 2006 4:04:23 PM Subject: Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected Hey Erik, Will do. May I ask w

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-29 Thread Michael J. Prichard
Hey Erik, Will do. May I ask why? Out of curiousity. Thanks, Michael Erik Hatcher wrote: I think you should use a new instance of each analyzer for each field, not reuse instances. Other than that, your usage is fine. Erik On Jul 29, 2006, at 3:49 PM, Michael J. Prichard wrote:

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-29 Thread Erik Hatcher
I think you should use a new instance of each analyzer for each field, not reuse instances. Other than that, your usage is fine. Erik On Jul 29, 2006, at 3:49 PM, Michael J. Prichard wrote: So I have the following code... // let's get our SynonymAnalyzer SynonymAnalyzer synAnalyze

Re: PerFieldAnalyzerWrapper use? Analyzer's not being used as expected....

2006-07-29 Thread Michael J. Prichard
Oh my...disregard this question. It works...I was instantiating my IndexWriter before setting up my Analyzers!! Dangit...I feel a little dumb. I just switched the order and put the instantiated indexwriter last...it works. Thanks, Michael P.S. I feel somewhat silly! Michael J. Prichard w