Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Created: (LUCENE-1096) Deletion from index causes ArrayIndexOutOfBoundsException

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Dec 19, 2007, 10:22 PM

Post #1 of 1 (185 views)
Permalink
[jira] Created: (LUCENE-1096) Deletion from index causes ArrayIndexOutOfBoundsException

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: java-dev-unsubscribe [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.