You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2007/12/20 12:53:43 UTC
[jira] Assigned: (LUCENE-1096) Deletion from index causes
ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LUCENE-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen reassigned LUCENE-1096:
-----------------------------------
Assignee: Doron Cohen
> 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
> Assignee: Doron Cohen
>
> 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@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org