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

Robert Muir commented on LUCENE-2629:
-------------------------------------

bq. I find it a strange concept to have two binary file formats, one for 
big-endian and one for little-endian, only one of which is usable. I would have 
thought that the gennorm2 program should generate the file format that works, 
no matter what machine it is run on.

I could be wrong, but I think the reason ICU's data files are endian-dependent 
is because they are designed to be very very quickly mapped into memory
(e.g. the speed at which the underlying character property data can be mapped 
into memory so that java.lang.Character becomes useful is sensitive)


> In modules/analysys/icu, ant gennorm2 does not work
> ---------------------------------------------------
>
>                 Key: LUCENE-2629
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2629
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Analysis
>            Reporter: David Bowen
>            Assignee: Robert Muir
>         Attachments: gennorm2.patch, gennorm2.patch, LUCENE-2629.patch
>
>
> Command to run gennorm2 does not work at present.  Also, icupkg needs to be 
> called to convert the binary file to big-endian.
> I will attach a patch.

-- 
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