lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3012) if you use setNorm, lucene writes a headerless separate norms file
Date Wed, 18 May 2011 15:57:47 GMT

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

Michael McCandless commented on LUCENE-3012:
--------------------------------------------

I agree this is important to fix!

Patch looks good.


> if you use setNorm, lucene writes a headerless separate norms file
> ------------------------------------------------------------------
>
>                 Key: LUCENE-3012
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3012
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 3.2
>
>         Attachments: LUCENE-3012.patch, LUCENE-3012_3x.patch
>
>
> In this case SR.reWrite just writes the bytes with no header...
> we should write it always.
> we can detect in these cases (segment written <= 3.1) with a 
> sketchy length == maxDoc check.

--
This message is automatically generated by JIRA.
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