Feng Guo created LUCENE-10319:
---------------------------------

             Summary: Make ForUtil#BLOCK_SIZE changeable
                 Key: LUCENE-10319
                 URL: https://issues.apache.org/jira/browse/LUCENE-10319
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/codecs
            Reporter: Feng Guo


In LUCENE-10315, I tried to generate a {{ForUtil}} whose {{BLOCK_SIZE=512}}, I 
thought it could be simple since it looks like i only need to change the 
BLOCK_SIZE, but it turns out that there are a lot of hard code values... 

So this is trying to make all hard code value generated from the BLOCK_SIZE in 
case we need a ForUtil somewhere else or want to change BLOCK_SIZE in postings 
in feature.

I tried to make the BLOCK_SIZE = 64 / 256 and all tests passed.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to