lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jokin Cuadrado" <>
Subject Re: [jira] Commented: (LUCENENET-110) Compression Support
Date Wed, 16 Jul 2008 20:08:34 GMT
i have tried it and when i open the compressed index with luke (0.8.1)
and make a search. it complains that  couldn't open documents because
it don't understand the field format. Luke opened it, you can search
also and you will see the number of results, but you wont see the
fields of them, or browse the documents in the documents tab. Might
this has confused you?

Java version compress with de zlib algorithm, and in the .net
framework there is support for deflate and gzip, I don't think they
are swapable

Meanwhile, the TestBinaryFieldInIndex test continue failing because
the compression support is not enabled. maybe is a good time to make
the .net compression support as the default option, and make easy for
use the sharpzlib adapter in case someone needs java compatibility


On Fri, Jun 27, 2008 at 4:04 PM, Digy (JIRA) <> wrote:
>    [
> Digy commented on LUCENENET-110:
> --------------------------------
> I tested it again.
> I deleted the SharpZipLibAdapter(to ensure not to use it), created a compressed index
using the above patches, compared the index size with an uncompressed one(to make sure index
is compresed) and then opened it with Luke.
> It Worked successfully.
>> Compression Support
>> -------------------
>>                 Key: LUCENENET-110
>>                 URL:
>>             Project: Lucene.Net
>>          Issue Type: Improvement
>>            Reporter: Digy
>>            Priority: Trivial
>>         Attachments: GzipCompressionAdapter.cs, SupportClass.patch
>> .Net 2.0 users can make use of compression(Field.Store.COMPRESS) support without
the need for "ICSharpCode.SharpZipLib" library.
>> The patch is  compatible with the  "ICSharpCode.SharpZipLib" library (also with Lucene.Java)
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.

View raw message