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

Renaud Delbru commented on LUCENE-2222:
---------------------------------------

I have noticed also another problem with the block index I/O and PFOR I/O. The 
fixed int block index can be configured with any block size, but PFOR requires 
at least a block size of 32 (and even, I think it requires a block size which 
is a product of 32), otherwise the decompression do not work correctly (the 
inputSize in decompressFrame is based on frameOfRef.unComprSize). There should 
be a block size checking in the PFOR index I/O. Should I open a new issue ?

> FixedIntBlockIndexInput.Reader does not initialise 'pending' int array
> ----------------------------------------------------------------------
>
>                 Key: LUCENE-2222
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2222
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: Flex Branch
>            Reporter: Renaud Delbru
>            Priority: Minor
>             Fix For: Flex Branch
>
>         Attachments: LUCENE-2222.patch, LUCENE-2222.patch, LUCENE-2222.patch
>
>
> The FixedIntBlockIndexInput.Reader.pending int array is not initialised. As a 
> consequence, the FixedIntBlockIndexInput.Reader#next() method returns always 
> 0.
> A call to FixedIntBlockIndexInput.Reader#blockReader.readBlock() during the 
> Reader initialisation may solve the issue (to be tested).

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