lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "li hao cho" <choli...@gmail.com>
Subject Question about lucene query (+body:12) (+title:12) ?
Date Thu, 19 Jul 2007 20:41:07 GMT
Hi all, I use query (+body:12) (+title:12) , but I got some wrong
message bellow:

java.io.IOException: read past EOF
       at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:137)
       at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)
       at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:47)
       at org.apache.lucene.store.IndexInput.readLong(IndexInput.java:70)
       at org.apache.lucene.index.TermVectorsReader.get(TermVectorsReader.java:107)
       at org.apache.lucene.index.SegmentReader.getTermFreqVector(SegmentReader.java:576)
       at org.apache.lucene.index.MultiReader.getTermFreqVector(MultiReader.java:85)
       at org.apache.bbs.Server.dowork(Server.java:654)
       at org.apache.bbs.Server$ServerThread.run(Server.java:262)
       at java.lang.Thread.run(Thread.java:619)

line 262 in Server.java as bellows:
TermPositionVector tpv = (TermPositionVector)
reader..getTermFreqVector(hits.id(index)) "body");

I am confused about the error message.



-- 
Li-Hao Cho
cholihao@gmail.com
Department of Computer Science
National Cheng Chi University, Taipei, Taiwan, R.O.C."

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


Mime
View raw message