lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiandong yang <>
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
Architect management office

Shanghai shanda networking development Co., LTD

Shanghai 201203, P. R. China


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