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/11/22 21:03:00 UTC

[jira] [Created] (LUCENE-9060) Fix the files generated python scripts in lucene/util/packed to not use RamUsageEstimator.RamUsageEstimator.NUM_BYTES_INT

Erick Erickson created LUCENE-9060:
--------------------------------------

             Summary: Fix the files generated python scripts in lucene/util/packed to not use RamUsageEstimator.RamUsageEstimator.NUM_BYTES_INT
                 Key: LUCENE-9060
                 URL: https://issues.apache.org/jira/browse/LUCENE-9060
             Project: Lucene - Core
          Issue Type: Bug
         Environment: 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".
            Reporter: Erick Erickson






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