lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shad Storhaug <>
Subject RE: KeywordAnalyzer in 4.8.0 beta
Date Wed, 10 Jan 2018 13:23:36 GMT

Refer to these StackOverflow answers:

You wouldn't extend an analyzer, because that would effectively mean wrapping one instance
of TokenStreamResult inside of another. For performance reasons, it is better to copy the
contents of an existing analyzer and modify it as required. This was a design decision that
the Lucene team made that was carried over into Lucene.Net.

Shad Storhaug (NightOwl888)

-----Original Message-----
From: 小康 [] 
Sent: Tuesday, January 9, 2018 2:46 PM
Subject: Re: KeywordAnalyzer in 4.8.0 beta

I  think you should install this package for you project.

In the new version (4.8.0) ,'KeywordAnalyzer' has changed package.Now it is in Lucene.Net.Analysis.Common

2018-01-09 7:34 GMT+08:00 Darrell Tunnell <>:

> I am looking at upgrading the following repo:
> themotleyfool/Lucene.Net.Linq/tree/v4_0
> From Lucene.Net 3.0.3 to the latest 4 beta packages.
> The first issue I have hit is that I can’t get this analyser to compile:
> blob/v4_0/source/Lucene.Net.Linq/Analysis/CaseInsensitiveKeywordAnalyz
> er
> .cs
> Because it derives from `KeywordAnalyzer` which is now sealed.
> What should I be doing instead?
> Many Thanks
> Darrell
View raw message