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.1.1
         Attachments: LUCENE-3012.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to