Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is ChainedFilter class in Lucene .NET 3.0.3?

It was in Lucene.Net.Analyzers.dll in version 2.9.4. But i can't find this class in version 3.0.3.

like image 783
Dmitry Avatar asked Feb 07 '13 07:02

Dmitry


2 Answers

Mindas: here is my comment since I cannot add a normal comment: how to access this ChainedFilter class? I have downloaded the package but there is no namespace like Lucene.Net.Contrib, or no other namespace which allows me to reach the ChainedFilter class. This seems silly but I am stuck!

UPDATE: There is a bug in the binaries from Nuget as well as zip files uploaded on apache site for Lucene.net. I downloaded the source and noticed that the ChainedFilter.cs class is present in the Apache-Lucene.Net-3.0.3-RC2.src\src\contrib\Analyzers\Filters folder, but this folder is surprisingly not a part of the Contrib.Analyzers project. That is why it was missing from the generated binaries.

like image 171
Vivek Avatar answered Oct 17 '22 21:10

Vivek


Rephrasing this answer, you can either build it yourself or use Nuget to get the binaries.

http://nuget.org/packages/Lucene.Net.Contrib/

ChainedFilter should be under contrib/misc.

like image 2
mindas Avatar answered Oct 17 '22 21:10

mindas