lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1960) Remove deprecated Field.Store.COMPRESS
Date Thu, 08 Oct 2009 08:13:31 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763403#action_12763403
] 

Uwe Schindler commented on LUCENE-1960:
---------------------------------------

In the discussion with Mike, we said, that all pre-2.9 compressed fields should behave as
before, e.g. they should automatically decompress. It should not be possibile to create new
ones. This is just index compatibility, in the current version it is simply not defined what
happens with pre-2.9 fields. The second problem are older compressed fields using the modified
Java-UTF-8 encoding, which may not correctly decompress now (if you receive with getByte())

The problem with your patch: If the field is compressed and you try to get it, you would not
hit it (because it is marked as String, not binary). The new self-compressed fields are now
should be "binary", before they were binary *or* string. See the discussion in LUCENE-652

> Remove deprecated Field.Store.COMPRESS
> --------------------------------------
>
>                 Key: LUCENE-1960
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1960
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Michael Busch
>            Assignee: Michael Busch
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message