You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (Created) (JIRA)" <ji...@apache.org> on 2012/03/11 16:02:00 UTC
[jira] [Created] (LUCENE-3860) 3.x indexes have the wrong normType
set in fieldinfos
3.x indexes have the wrong normType set in fieldinfos
-----------------------------------------------------
Key: LUCENE-3860
URL: https://issues.apache.org/jira/browse/LUCENE-3860
Project: Lucene - Java
Issue Type: Bug
Affects Versions: 4.0
Reporter: Robert Muir
Attachments: LUCENE-3860.patch
3.x codec claims the single byte norms are BYTES_VAR_STRAIGHT in FieldInfos,
but the norms implementation itself then has the type as FIXED_INTS_8.
--
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
[jira] [Resolved] (LUCENE-3860) 3.x indexes have the wrong normType
set in fieldinfos
Posted by "Robert Muir (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-3860.
---------------------------------
Resolution: Fixed
Fix Version/s: 4.0
factoring out the checkindex tests (r1299382) was easy
and did not yield any surprises... at least yet.
> 3.x indexes have the wrong normType set in fieldinfos
> -----------------------------------------------------
>
> Key: LUCENE-3860
> URL: https://issues.apache.org/jira/browse/LUCENE-3860
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Robert Muir
> Fix For: 4.0
>
> Attachments: LUCENE-3860.patch
>
>
> 3.x codec claims the single byte norms are BYTES_VAR_STRAIGHT in FieldInfos,
> but the norms implementation itself then has the type as FIXED_INTS_8.
--
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
[jira] [Commented] (LUCENE-3860) 3.x indexes have the wrong
normType set in fieldinfos
Posted by "Robert Muir (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227062#comment-13227062 ]
Robert Muir commented on LUCENE-3860:
-------------------------------------
I want to get this bugfix in, then see if we can factor out current logic in testDocValues + testFieldNorms
into a combined checkDocValues that both of these use. I think it just needs to take as parameters the expected Type, etc
from FieldInfos, and the expected size (#docs), etc etc.
> 3.x indexes have the wrong normType set in fieldinfos
> -----------------------------------------------------
>
> Key: LUCENE-3860
> URL: https://issues.apache.org/jira/browse/LUCENE-3860
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-3860.patch
>
>
> 3.x codec claims the single byte norms are BYTES_VAR_STRAIGHT in FieldInfos,
> but the norms implementation itself then has the type as FIXED_INTS_8.
--
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
[jira] [Updated] (LUCENE-3860) 3.x indexes have the wrong normType
set in fieldinfos
Posted by "Robert Muir (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-3860:
--------------------------------
Attachment: LUCENE-3860.patch
patch, adding a verification to CheckIndex (TestBackwardsCompatibility then fails without the fix), and fixing the bug.
> 3.x indexes have the wrong normType set in fieldinfos
> -----------------------------------------------------
>
> Key: LUCENE-3860
> URL: https://issues.apache.org/jira/browse/LUCENE-3860
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-3860.patch
>
>
> 3.x codec claims the single byte norms are BYTES_VAR_STRAIGHT in FieldInfos,
> but the norms implementation itself then has the type as FIXED_INTS_8.
--
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