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
The normal technique is to write your own analyzer. See
http://wiki.apache.org/lucene-java/LuceneFAQ#How_do_I_write_my_own_Analyzer.3F.
Then pass that to IndexWriter - and be sure to use the same analyzer
when you are searching, unless you're doing clever things.
--
Ian.
On Thu, Nov 25, 2010 a