You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Erick Erickson (Jira)" <ji...@apache.org> on 2019/12/05 17:47:00 UTC
[jira] [Assigned] (LUCENE-9060) Fix the files generated python
scripts in lucene/util/packed to not use RamUsageEstimator.NUM_BYTES_INT
[ https://issues.apache.org/jira/browse/LUCENE-9060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erick Erickson reassigned LUCENE-9060:
--------------------------------------
Assignee: Erick Erickson
> Fix the files generated python scripts in lucene/util/packed to not use RamUsageEstimator.NUM_BYTES_INT
> -------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-9060
> URL: https://issues.apache.org/jira/browse/LUCENE-9060
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Erick Erickson
> Assignee: Erick Erickson
> Priority: Major
> Attachments: LUCENE-9060.patch, differences.patch
>
>
> RamUsageEstimator.NUM_BYTES_INT has been removed. But the Python code still puts it in the generated code. Once you run "ant regenerate" (and I had to run it with 24G!) you can no longer build.
> We should verify that warnings against hand-editing end up in the generated code, although they weren't hand-edited in this case.
> It looks like the constants were removed as part of LUCENE-8745.
> I think it's just a straightforward substitution of "Integer.BYTES".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org