Hi janwen,

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


Regards,
Suman

-----Original Message-----
From: janwen [mailto:tom.grade1...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to