lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiandong yang <jdyangch...@gmail.com>
Subject Re: IndexWriter Class
Date Mon, 29 Nov 2010 03:14:17 GMT
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 function?

after the add is done, should the reader be reopen?

or someone show me a simple example, thx a lot!!!

-- 
祝一切顺利~

Best Regards,

杨建东

=====================================================

Jiandong Yang
Mobile Phone:15921536660
email: yangjiandong@snda.com
Architect management office


Shanghai shanda networking development Co., LTD

Shanghai 201203, P. R. China

=====================================================

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message