Re: IndexWriter Class

2010-11-29 Thread Michael McCandless
Please don't hijack threads; start a new thread instead. Mike 2010/11/28 jiandong yang : > hello, all, here comes my question: > as far as I know, lucene now offer the feature that ones can search some > doc while the index which contains that specific doc is modifying. > for example(pseudocode)

Re: IndexWriter Class

2010-11-28 Thread jiandong yang
hello, all, here comes my question: as far as I know, lucene now offer the feature that ones can search some doc while the index which contains that specific doc is modifying. for example(pseudocode) : while indexWriter(indexDir).add(docA) is doing, can indexReader(indexDir) offer the query func

Re: IndexWriter Class

2010-11-25 Thread Ian Lea
> > writer.close(); > > Date end = new Date(); > > System.out.println(end.getTime() - start.getTime() + " total milliseconds"); > > > > My problem lies in the IndexWriter class and the number of > analyzer's/tokenizer's I am permitted to pass as pa

IndexWriter Class

2010-11-25 Thread McGibbney, Lewis John
;..."); indexDocs(writer, docDir); System.out.println("Optimizing..."); writer.optimize(); writer.close(); Date end = new Date(); System.out.println(end.getTime() - start.getTime() + " total milliseconds"); My problem lies in the IndexWriter class and the number of