lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hao yan <hyan2...@gmail.com>
Subject Re: A question about "seek past EOF: MMapIndexInput"
Date Thu, 19 Sep 2013 22:52:34 GMT
Hi, Adrien

thanks for the quick replay. Let me try it out.

hao


On Wed, Sep 18, 2013 at 3:18 AM, Adrien Grand <jpountz@gmail.com> wrote:

> Hi,
>
> This means that there is either a bug in Lucene or that your index is
> corrupted. Can you reproduce this failure if you reindex data? The
> output of CheckIndex would be interesting as well, see
>
> http://lucene.apache.org/core/4_4_0/core/org/apache/lucene/index/CheckIndex.html#main%28java.lang.String[]%29
> .
>
> On Wed, Sep 18, 2013 at 6:39 AM, hao yan <hyan2008@gmail.com> wrote:
> > Hi, folks
> >
> > I build lucene index using lucene-4.3.
> >
> > However, I found for a field, some terms are searchable while searching
> the
> > others will throw the following exception:
> >
> > java.io.EOFException: seek past EOF:
> >
> MMapIndexInput(path="/tmp/galeneTestData/input/base/index/_2ca_Lucene41_0.doc")
> >     at
> >
> org.apache.lucene.store.ByteBufferIndexInput.seek(ByteBufferIndexInput.java:172)
> >     at
> >
> org.apache.lucene.codecs.lucene41.Lucene41PostingsReader$BlockDocsEnum.reset(Lucene41PostingsReader.java:407)
> >     at
> >
> org.apache.lucene.codecs.lucene41.Lucene41PostingsReader.docs(Lucene41PostingsReader.java:293)
> >     at
> >
> org.apache.lucene.codecs.BlockTreeTermsReader$FieldReader$SegmentTermsEnum.docs(BlockTreeTermsReader.java:2188)
> >     at org.apache.lucene.index.TermsEnum.docs(TermsEnum.java:157)
> >     at
> > org.apache.lucene.search.TermQuery$TermWeight.scorer(TermQuery.java:85)
> >     at
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:609)
> >     at
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:482)
> >     at
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:438)
> >     at
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:281)
> >     at
> org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:269)
> >     at
> > com.senseidb.clue.commands.SearchCommand.execute(SearchCommand.java:59)
> >     at
> > com.senseidb.clue.ClueApplication.handleCommand(ClueApplication.java:41)
> >     at com.senseidb.clue.ClueApplication.main(ClueApplication.java:76)
> >
> > Do you guys have any idea whey this happens!
> >
> > thanks a lot!
> >
> > hao
>
>
>
> --
> Adrien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message