Re: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-28 Thread Cheng
Pedro's suggestion seems to work fine. Not sure where I should use CharArraySet.EMPTY_SET. On Sat, Jan 28, 2012 at 6:56 AM, Uwe Schindler wrote: > Or even better: CharArraySet.EMPTY_SET - sorry for noise. > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de >

Re: Does Fuzzy Search scores the same as Exact Match

2012-01-28 Thread Paul Taylor
On 28/01/2012 11:22, Uwe Schindler wrote: -Original Message- From: Paul Taylor [mailto:paul_t...@fastmail.fm] Sent: Saturday, January 28, 2012 10:33 AM To: 'java-user@lucene.apache.org' Subject: Does Fuzzy Search scores the same as Exact Match All things being equal does a fuzzy match gi

RE: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-28 Thread Uwe Schindler
Or even better: CharArraySet.EMPTY_SET - sorry for noise. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Uwe Schindler [mailto:u...@thetaphi.de] > Sent: Saturday, January 28, 2012 12:52 PM > To: java-us

RE: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-28 Thread Uwe Schindler
Right, but Collections.emptySet() should be used :-) - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Pedro Lacerda [mailto:pslace...@gmail.com] > Sent: Saturday, January 28, 2012 12:49 PM > To: java-user

Re: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-28 Thread Pedro Lacerda
Hi Cheng, You can provide your own set of stop words as the second argument of StandardAnalyzer constructor. new StandardAnalyzer(version, new HashSet()); Pedro Lacerda 2012/1/28 Cheng > Hi, > > I don't want to filter certain stop words within the StandardAnalyzer? Can > I do so? > > Idea

RE: Does Fuzzy Search scores the same as Exact Match

2012-01-28 Thread Uwe Schindler
> > >> -Original Message- > > >> From: Paul Taylor [mailto:paul_t...@fastmail.fm] > > >> Sent: Saturday, January 28, 2012 10:33 AM > > >> To: 'java-user@lucene.apache.org' > > >> Subject: Does Fuzzy Search scores the same as Exact Match > > >> > > >> All things being equal does a fuzzy matc

RE: Does Fuzzy Search scores the same as Exact Match

2012-01-28 Thread Uwe Schindler
- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Paul Taylor [mailto:paul_t...@fastmail.fm] > Sent: Saturday, January 28, 2012 11:01 AM > Cc: java-user@lucene.apache.org > Subject: Re: Does Fuzzy Search

Re: Does Fuzzy Search scores the same as Exact Match

2012-01-28 Thread Paul Taylor
On 28/01/2012 09:36, Uwe Schindler wrote: Hi, -Original Message- From: Paul Taylor [mailto:paul_t...@fastmail.fm] Sent: Saturday, January 28, 2012 10:33 AM To: 'java-user@lucene.apache.org' Subject: Does Fuzzy Search scores the same as Exact Match All things being equal does a fuzzy ma

RE: Does Fuzzy Search scores the same as Exact Match

2012-01-28 Thread Uwe Schindler
Hi, > -Original Message- > From: Paul Taylor [mailto:paul_t...@fastmail.fm] > Sent: Saturday, January 28, 2012 10:33 AM > To: 'java-user@lucene.apache.org' > Subject: Does Fuzzy Search scores the same as Exact Match > > All things being equal does a fuzzy match give the same score as an e

Does Fuzzy Search scores the same as Exact Match

2012-01-28 Thread Paul Taylor
All things being equal does a fuzzy match give the same score as an exact match. i.e if I do a search for farmin and it matches two docs one on term farmin, the other on term farming, will it score farming higher or score both the same ? Paul --

RE: deprecated optimize()!

2012-01-28 Thread Uwe Schindler
Hi, > > > The first time my code used the 3.4 libraries with version level set > > > to 3.4 and it tried to optimize() (still using this now deprecated > > > old call), the new code > > went wild! > > > It took up more memory than the heap was limited to, so I believe it > > > is taking > > > up s