Re: Index maintaining/updating

2009-11-10 Thread Wenhao Xu
Thanks, guys. It helps a lot! W. On Mon, Nov 9, 2009 at 11:35 PM, Anshum wrote: > Hi Wenhao, > Its generally better to incrementally buld your index and at the same > tiime. > Considering by this time you'd be a little aware of implementing/using > luceneAPI, here is what you could do. > Open t

Re: Index maintaining/updating

2009-11-09 Thread Anshum
Hi Wenhao, Its generally better to incrementally buld your index and at the same tiime. Considering by this time you'd be a little aware of implementing/using luceneAPI, here is what you could do. Open the existing index using 'createnew' set to false *IndexWriter(Directory d, Analyzer a, boolean

Re: Index maintaining/updating

2009-11-09 Thread hyj
Wenhao Xu,您好! Index.AddDocment(Docment doc) can do your work. After the previous action, remember to commit the Index. === 2009-11-10 14:40:03 您在来信中写道:=== >Hi, everybody, > I am new to Lucene and have a question about how to update my index. The >following is my situation: >