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

Yonik Seeley commented on LUCENE-1995:
--------------------------------------

lol - well, there we go.  Looks like perhaps a JavaDoc fix (and a comment in 
solrconfig.xml)?  The buffered size was never meant to be quite so large :-)

Mike - I think keeping the signed shift is the right thing to do... a zero-cost 
check against silent corruption.
But I'm not sure if 2048MiB is safe either... I'm not sure of one could 
overflow the number of buffers somehow as well (is every buffer except the last 
fully utilized?)


> ArrayIndexOutOfBoundsException during indexing
> ----------------------------------------------
>
>                 Key: LUCENE-1995
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1995
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.9
>            Reporter: Yonik Seeley
>             Fix For: 2.9.1
>
>
> http://search.lucidimagination.com/search/document/f29fc52348ab9b63/arrayindexoutofboundsexception_during_indexing

-- 
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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to