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)
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
>
> 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
;...");
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