Hi Neils,

.NET 1.1 doesn't have compression API so I used reflection to solve this
problem.  Look at the class SharpZipLibAdapter in the file
SharpZipLibAdapter.cs to see how you can use #ZipLib
(http://www.icsharpcode.net/OpenSource/SharpZipLib/) to enable compression.

If you are using .NET 2.0, you can use the .NET 2.0's ZIP compression; but
be warned, the Lucene index will not be compatible with Java's index.  This
may be less of a problem if you don't care about compatibility, but then you
can't use Luke (http://www.getopt.org/luke/) to analyze your index.

-- George Aroush

-----Original Message-----
From: Neils [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 23, 2007 1:42 PM
To: [email protected]
Subject: Compression Support not configured ?

Hi,
 
I want to use compression-support of Lucene. I'm using Lucene 2.0.0.4 and
DotNet 2.0.
 
Compression is done like this: 

Dim TermManufacture As New Field("Manufacture", Manufacture,
Field.Store.COMPRESS, Field.Index.TOKENIZED)

By trying this i got the errormsg "Compression Support not configured".

How do I enable compression-support?

Thanks :-)


Reply via email to