You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "zhanlijun (JIRA)" <ji...@apache.org> on 2014/11/04 02:54:33 UTC
[jira] [Updated] (LUCENE-6037) PendingTerm cannot be cast to
PendingBlock
[ https://issues.apache.org/jira/browse/LUCENE-6037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhanlijun updated LUCENE-6037:
------------------------------
Attachment: 屏幕快照 2014-11-04 上午9.48.17.png
Hi Michael
I am sure that this will lead to the issue. I just make the following
changes to the code, the program is no retrieval the issue.
> PendingTerm cannot be cast to PendingBlock
> ------------------------------------------
>
> Key: LUCENE-6037
> URL: https://issues.apache.org/jira/browse/LUCENE-6037
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/codecs
> Affects Versions: 4.3.1
> Environment: ubuntu 64bit
> Reporter: zhanlijun
> Priority: Critical
> Fix For: 4.3.1
>
> Attachments: 屏幕快照 2014-11-04 上午9.48.17.png
>
>
> the error as follows:
> java.lang.ClassCastException: org.apache.lucene.codecs.BlockTreeTermsWriter$PendingTerm cannot be cast to org.apache.lucene.codecs.BlockTreeTermsWriter$PendingBlock
> at org.apache.lucene.codecs.BlockTreeTermsWriter$TermsWriter.finish(BlockTreeTermsWriter.java:1014)
> at org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:553)
> at org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85)
> at org.apache.lucene.index.TermsHash.flush(TermsHash.java:116)
> at org.apache.lucene.index.DocInverter.flush(DocInverter.java:53)
> at org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81)
> at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:493)
> at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:480)
> at org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:378)
> at org.apache.lucene.index.DocumentsWriter.updateDocuments(DocumentsWriter.java:413)
> at org.apache.lucene.index.IndexWriter.updateDocuments(IndexWriter.java:1283)
> at org.apache.lucene.index.IndexWriter.addDocuments(IndexWriter.java:1243)
> at org.apache.lucene.index.IndexWriter.addDocuments(IndexWriter.java:1228)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org