Please don't hijack threads; start a new thread instead.
Mike
2010/11/28 jiandong yang jdyangch...@gmail.com:
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
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
, 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
analyzer's/tokenizer's I am permitted to pass as parameters
in the IndexWriter class and the number of
analyzer's/tokenizer's I am permitted to pass as parameters and I find that
this is slightly unclear from the javadocs. Are there any existing resources
to solve this problem? or can someone help me out please.
Anything would be greatly appreciated.
Lews Mc