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

Karl Wettin commented on LUCENE-1318:
-------------------------------------

It would be great if you also added some code to TestIndicesEquals that copies 
some norms from the two readers to arrays and check the equality of the 
results. Make sure that the norms copied are not the same for all those 
documents though. It's very possible they are all the same as the test indices 
contains very small and similar texts. It would also be great if the norms 
copied spans over the deleted documents in the second run. 

(The second testEquals() iteration is not committed yet, only available in the 
LUCENE-1312 patch right now. Let's commit that first.)

I'll add the above mentioned tests if you don't.


> InstantiatedIndexReader.norms called from MultiReader bug
> ---------------------------------------------------------
>
>                 Key: LUCENE-1318
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1318
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/*
>            Reporter: Jason Rutherglen
>            Assignee: Karl Wettin
>         Attachments: lucene-1318.patch
>
>
> Small bug in InstantiatedIndexReader.norms(String field, byte[] bytes, int 
> offset) where the offset is not applied properly in the System.arraycopy

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to