You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by Jokin Cuadrado <jo...@gmail.com> on 2008/07/16 22:08:34 UTC

Re: [jira] Commented: (LUCENENET-110) Compression Support

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
version.

regards
jokin

On Fri, Jun 27, 2008 at 4:04 PM, Digy (JIRA) <ji...@apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/LUCENENET-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608774#action_12608774 ]
>
> 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.
>
> DIGY
>
>> Compression Support
>> -------------------
>>
>>                 Key: LUCENENET-110
>>                 URL: https://issues.apache.org/jira/browse/LUCENENET-110
>>             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)
>> DIGY
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>