lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "janwen"<tom.grade1...@163.com>
Subject Re: RE: merge index
Date Mon, 10 Oct 2011 05:06:45 GMT

thanks Suman .
I test my code again in my project.It works,users can search the new index doc immediately.
In our website,we merge index files every 15 mins from a server to another server.and we can
not stop the search service,so we can not reopen 
the index directory,thanks.
2011-10-10



janwen | China 
website : http://www.qianpin.com/




From:suman.holani
Date:2011-10-10 13:00
Subject:RE: merge index
To:java-user
Cc:

Hi janwen, 

Try reopening the index reader and make  new instance of searcher . 


Regards, 
Suman 

-----Original Message----- 
From: janwen [mailto:tom.grade1986@163.com]  
Sent: Monday, October 10, 2011 7:34 AM 
To: java-user 
Subject: merge index 

HI: 
  after  i add new index directory to exsited directoy,but i can not search the new index
docs.but when i restart my tomcat server,i can do that.I am wondering that i need to restart
tomcat to search the new index doc? or is there other way to do that the new index docs can
be searched immediately? 
thanks 

2011-10-10 



janwen | China  
website : http://www.qianpin.com/ 



--------------------------------------------------------------------- 
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org 
For additional commands, e-mail: java-user-help@lucene.apache.org 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message