lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27799] New: - java.lang.IndexOutOfBoundsException caused by skipTo() method
Date Fri, 19 Mar 2004 15:48:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27799>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27799

java.lang.IndexOutOfBoundsException caused by skipTo() method

           Summary: java.lang.IndexOutOfBoundsException caused by skipTo()
                    method
           Product: Lucene
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Search
        AssignedTo: lucene-dev@jakarta.apache.org
        ReportedBy: julien.nioche@lingway.com


Searching for the following query on an index made with the last version of
lucene (1.4RC1) yields a java.lang.IndexOutOfBoundsException. 

Query : titre:"asia pacific economic co operation forum"

I'll join a test program that creates that query and uses it on an index passed
as argument (ex: Tester D:\myindex)

The index (148535.2 kb zipped) can be downloaded from
http://loti.lingway.com/lucene/lucenebugindex.zip


Trace : 
java.lang.IndexOutOfBoundsException
        at java.io.RandomAccessFile.readBytes(Native Method)
        at java.io.RandomAccessFile.read(RandomAccessFile.java:307)
        at org.apache.lucene.store.FSInputStream.readInternal(FSDirectory.java:4
48)
        at org.apache.lucene.store.InputStream.refill(InputStream.java:196)
        at org.apache.lucene.store.InputStream.readByte(InputStream.java:81)
        at org.apache.lucene.store.InputStream.readVInt(InputStream.java:121)
        at org.apache.lucene.index.SegmentTermPositions.next(SegmentTermPosition
s.java:97)
        at org.apache.lucene.index.SegmentTermDocs.skipTo(SegmentTermDocs.java:2
25)
        at org.apache.lucene.search.PhrasePositions.skipTo(PhrasePositions.java:
85)
        at org.apache.lucene.search.PhraseScorer.next(PhraseScorer.java:107)
        at org.apache.lucene.search.Scorer.score(Scorer.java:75)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:136)

        at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:102)
        at org.apache.lucene.search.Hits.<init>(Hits.java:81)
        at org.apache.lucene.search.Searcher.search(Searcher.java:71)
        at org.apache.lucene.search.Searcher.search(Searcher.java:65)
        at Tester.main(Tester.java:46)

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message