Deletion from index causes ArrayIndexOutOfBoundsException
---------------------------------------------------------
Key: LUCENE-1096
URL: https://issues.apache.org/jira/browse/LUCENE-1096
Project: Lucene - Java
Issue Type: Bug
Components: Index
Affects Versions: 2.1
Environment: WindowsXPSP1/Lenovo-T60p
Reporter: Tushar B
Hits h = m_indexSearcher.search(q); // Returns 11475 documents
for(int i = 0; i < h.length(); i++)
{
int doc = h.id(i);
m_indexSearcher.getIndexReader().deleteDocument(doc); <-- causes
ArrayIndexOutOfBoundsException when i = 6400
}
--
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]