Hi Laxmilal, The current releases of Lucene.Net uses .NET 1.1 framework. Since .NET 1.1 doesn't have compression support, and since I can't add a 3rd party code into ASF, I had to come up with a workaround. The workaround is the class CompressionSupport.
If you need to support compressed field, use this class to supply to it a compression library. I have not tried this, but other folks told me that using SharpZipLib (http://www.icsharpcode.net/OpenSource/SharpZipLib/) works and the index remains compatible with Java's Lucene. Regards, -- George -----Original Message----- From: Laxmilal Menaria [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 11:34 PM To: [email protected] Subject: Re: Search using .Net code in Java based Index ok..thanks... but what should i do for now .. any other way.. ? On 2/23/07, Michael Mitiaguin <[EMAIL PROTECTED]> wrote: > Coincidentally I've just run Nunit tests against subversion version > and there were failed tests . One of them : > Lucene.Net.Document.TestBinaryDocument.TestBinaryFieldInIndex : > System.SystemException : Compression support not configured > > > Do we expect some tests to fail ? > > Michael > > On 2/23/07, Laxmilal Menaria <[EMAIL PROTECTED]> wrote: > > I have tried, Its gives me "Compression not configured" > > exception...while searching using .Net code.. > > > > > > > > On 2/23/07, George Aroush <[EMAIL PROTECTED]> wrote: > > > Yes, the index generated by Java or C# Lucene are cross > > > compatible. If fact, if you share the lock file, you can have a > > > Java and a C# Lucene read/write to the same index concurrently. > > > Just make sure you are using the same release version if you do this. > > > > > > -- George Aroush > > > > > > > > > -----Original Message----- > > > From: Dean Harding [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, February 22, 2007 4:24 PM > > > To: [email protected] > > > Subject: RE: Search using .Net code in Java based Index > > > > > > > I am lucene user and I have created a Index using Java code and > > > > after that I wants to search using VB.Net code, so what should i do ? > > > > > > The file format is the same, I believe, so it should "just work" > > > without anything special. > > > > > > Dean. > > > > > > > > > > > >
