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

Fuad Efendi commented on LUCENE-1995:
-------------------------------------

But who did the bug? Joshua writes, it's him :) - based on other's famous 
findings and books...
===
" it just contains a few lines of code that calculates a 
double value from two document fields and then stores that value in one of 
these dynamic fields"
And problem happens when he indexes document number 15,000,000...
- I am guessing he is indexing "double"... ((type=tdouble, indexed=t, 
stored=f)... Why do we ever need to index multi-valued field "double"? 
Cardinality is the highest possible... I don't know Lucene internals; I am 
thinking that (double, docID) will occupy 12 bytes, and with multivalued (or 
dynamic) field we may need a lot of RAM for 15 mlns docs... especially if we 
are trying to put into buskets some objects using hash of "double"...



> 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
>            Assignee: Michael McCandless
>             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