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
>
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
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
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
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
> > >> -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
-
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
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
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
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
--
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
11 matches
Mail list logo