lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Weiwei Wang <ww.wang...@gmail.com>
Subject Re: Index Update
Date Sat, 12 Dec 2009 14:08:28 GMT
Gotcha, tThanks, Uwe

2009/12/12 Uwe Schindler <uwe@thetaphi.de>

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


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

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