论坛首页 Java企业应用论坛

je分词的问题

浏览 2037 次
该帖已经被评为隐藏帖
作者 正文
   发表时间:2007-11-26  

我现在用的是je-analysis-1.5.2.jar的分词,当我建立索引大约有几百条的时候,就出现一下异常,看看,是什么原因?谢谢了

java.lang.ArrayIndexOutOfBoundsException: 1056
 at jeasy.analysis.lIIllIlIlIIIllll._$3(Unknown Source:264)
 at jeasy.analysis.lIIllIlIlIIIllll._$2(Unknown Source:143)
 at jeasy.analysis.lIIllIlIlIIIllll._$1(Unknown Source:58)
 at jeasy.analysis.lIIllIlIlIIIllll.next(Unknown Source:38)
 at org.apache.lucene.analysis.StopFilter.next(StopFilter.java:107)
 at org.apache.lucene.index.DocumentWriter.invertDocument(DocumentWriter.java:219)
 at org.apache.lucene.index.DocumentWriter.addDocument(DocumentWriter.java:95)
 at org.apache.lucene.index.IndexWriter.buildSingleDocSegment(IndexWriter.java:1013)
 at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1001)
 at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:983)
 at com.hotct.search.core.IndexProcesser.createIndex(IndexProcesser.java:125)
 at com.hotct.search.app.cms.index.ArticleIndexProcesser.createArticleIndex(ArticleIndexProcesser.java:49)
 at com.hotct.search.app.cms.index.ArticleIndexProcesser.getPageAritcle(ArticleIndexProcesser.java:74)
 at com.hotct.search.app.cms.index.ArticleIndexProcesser.main(ArticleIndexProcesser.java:82)

   发表时间:2007-11-26  
数组越界了呀
0 请登录后投票
   发表时间:2008-01-04  
1.5.3应该已经改了
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics