lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: IndexWriter Class
Date Mon, 29 Nov 2010 10:03:46 GMT
Please don't hijack threads; start a new thread instead.

Mike

2010/11/28 jiandong yang <jdyangchina@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 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
>
> =====================================================
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message