lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Index Update
Date Sat, 12 Dec 2009 14:07:02 GMT
No. As long as you not commit or close the IndexWriter and reopen the
IndexReader on the search side, nothing happens on the search side.

Copying like you do is absolutely not needed.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Weiwei Wang [mailto:ww.wang.cs@gmail.com]
> Sent: Saturday, December 12, 2009 1:25 PM
> To: java-user@lucene.apache.org
> Subject: Index Update
> 
> Hi, all,
>      I need to update my index everyday so as to keep pace with times.
> Current I have two copy of indexes, one is used to provide search service,
> the other is used to do updating. Once the updating process is done, I
> write
> all the updated documents to the index which provide search service.
> 
> I want to use only one copy of index,  and do updating searching on the
> same
> index? Does the updating process will effect the search result when the
> updating process is running?
> 
> --
> Weiwei Wang
> Alex Wang
> 王巍巍
> Room 403, Mengmin Wei Building
> Computer Science Department
> Gulou Campus of Nanjing University
> Nanjing, P.R.China, 210093
> 
> Homepage: http://cs.nju.edu.cn/rl/weiweiwang


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