lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Cortes <>
Subject Iterating hits
Date Wed, 15 Feb 2006 17:59:17 GMT
Hi lucene users I have a strange error and I don't know to do?
My logs say this:
java.lang.ArrayIndexOutOfBoundsException: 100 >= 100
        at java.util.Vector.elementAt(

my code is this
                PrefixQuery p = new PrefixQuery(new 
                Hits h =;
                for (int i=0;i<h.length(); i++){
                    log.debug(h.doc(i).getField("TYPE") + " 

Why? How can I do to delete all the documents that the tool_ref_if 
begins with for example "AK"?

Searching about it I find this :

thks for any reply.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message