try reopening the index with your index reader 2009/4/16 IRENE SANCHEZ BODEGA <[email protected]>
> 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: [email protected] Homepage: http://cs.nju.edu.cn/rl/weiweiwang
