lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1995) ArrayIndexOutOfBoundsException during indexing
Date Mon, 19 Oct 2009 21:36:59 GMT

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

Michael McCandless commented on LUCENE-1995:
--------------------------------------------

That's a nice large RAM buffer :)

bq. Mike - I think keeping the signed shift is the right thing to do... a zero-cost check
against silent corruption.

Ahh good point, OK we'll keep it as is.

bq. But I'm not sure if 2048MiB is safe either

2048 probably won't be safe, because a large doc just as the buffer is filling up could still
overflow.  (Though, RAM is also used eg for norms, so you might squeak by).

I'll update the javadocs to note the limitation!

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


Mime
View raw message