lucene locks index, tomcat has to stop and restart

2004-09-07 Thread hui liu
Hi, I met with such a problem with lucene demo: Each time when I create lucene index, I have to first stop tomcat, and restart tomcat after the index is created. The reason is: the index is locked when using IndexReader.open(index) method in the jsp file. So, I tried to modify the jsp codes by a

lucene index parser problem

2004-09-07 Thread hui liu
Hi, I have such a problem when creating lucene index for many html files: It shows "aborted, expected" for those html files which contain java scripts. It seems it cannot parse the tags < \>. Does anyone has any solution? Thank you very very much...!!! Ivy.

lucene locks index, tomcat has to stop and restart

2004-09-07 Thread hui liu
Hi all, I met with such a problem with lucene demo: Each time when I create lucene index, I have to first stop tomcat, and restart tomcat after the index is created. The reason is: the index is locked when using IndexReader.open(index) method in the jsp file. So, I tried to modify the jsp codes