lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 王巍巍 <ww.wang...@gmail.com>
Subject Re: indexReader
Date Thu, 16 Apr 2009 01:54:59 GMT
try reopening the index with your index reader
2009/4/16 IRENE SANCHEZ BODEGA <isb@tid.es>

> Hello!
> I'm a spanish Telecommunications student.I'm using Lucene to index some
> documents and I've goy a question.
> the fact is that I index a document (only one). When I use Luke to confirm
> the information, I see the information is ok.
> But when I open an IndexReader, the answer of numDocs is 0...is that
> possible?? I dont understand...if I open the index throught Luke I can see
> the informatio, but IndexReader sais there is no document there. MAy u help
> me??
>
> Thanks a lot!
>
> Irene
>



-- 
Weiwei Wang
王巍巍
Department of Computer Science
Gulou Campus of Nanjing University
Nanjing, P.R.China, 210093

Mobile: 86-13913310569
MSN: ww.wang.cs@gmail.com
Homepage: http://cs.nju.edu.cn/rl/weiweiwang

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