Page 1 of 1

Rebuild Lucene index issue

PostPosted:Mon May 01, 2017 10:05 am
by openkm_user
Hi,

Search is not returning any results, so as per the instruction from previous threads we tried to rebuild lucene index, but it returns with the following error,

Exception: Unable to purge all from Lucene index: class com.openkm.dao.bean.NodeDocumentVersion

What went wrong?

Re: Rebuild Lucene index issue

PostPosted:Tue May 02, 2017 10:33 am
by openkm_user
Worked on tomcat restart, but not sure what really went wrong before.

Re: Rebuild Lucene index issue

PostPosted:Wed May 03, 2017 8:23 pm
by jllort
For a full lucene reindex you can also try:
1- stop openkm
2- delete repository/index folder
3- start openkm
4- execute lucene rebuild

Sometimes caused by table structure changes is needed to reindexing whole repository ( is not usual but sometimes might be necessary )