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
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