lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <>
Subject [jira] Updated: (LUCENE-1960) Remove deprecated Field.Store.COMPRESS
Date Sat, 24 Oct 2009 01:35:59 GMT


Michael Busch updated LUCENE-1960:

    Attachment: lucene-1960-1.patch

It was as easy as changing this method in FieldsReader:

  boolean canReadRawDocs() {
    // Disable reading raw docs in 2.x format, because of the removal of compressed
    // fields in 3.0. We don't want rawDocs() to decode field bits to figure out
    // if a field was compressed, hence we enforce ordinary (non-raw) stored field merges
    // for <3.0 indexes.
    return format >= FieldsWriter.FORMAT_LUCENE_3_0_NO_COMPRESSED_FIELDS;

Uwe, I made some quick tests and it looks good. But I don't have any indexes with compressed
fields (we don't use them), so I'll wait for you to test it out with your indexes that you

> Remove deprecated Field.Store.COMPRESS
> --------------------------------------
>                 Key: LUCENE-1960
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Michael Busch
>            Assignee: Michael Busch
>            Priority: Minor
>             Fix For: 3.0
>         Attachments: lucene-1960-1.patch, lucene-1960-1.patch, lucene-1960.patch
> Also remove FieldForMerge and related code.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message