lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3186) DocValues type should be recored in FNX file to early fail if user specifies incompatible type
Date Mon, 10 Oct 2011 10:16:29 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simon Willnauer updated LUCENE-3186:
------------------------------------

    Attachment: LUCENE-3186.patch

next iteration. Added JavaDoc, removed all nocommits and fixed all tests.

This version of the patch promotes incompatible variants to BYTES_VAR_STRAIGHT instead of
dropping the data entirely. this looses at least no data if somebody messes up their types.
I think this is ready - if nobody objects I am going to commit this tomorrow...
                
> DocValues type should be recored in FNX file to early fail if user specifies incompatible
type
> ----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3186
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3186
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-3186.patch, LUCENE-3186.patch, LUCENE-3186.patch
>
>
> Currently segment merger fails if the docvalues type is not compatible across segments.
We already catch this problem if somebody changes the values type for a field within one segment
but not across segments. in order to do that we should record the type in the fnx fiel alone
with the field numbers.
> I marked this 4.0 since it should not block the landing on trunk

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message