Page 1 of 1
Automatically Rebuild indexes
PostPosted:Wed Sep 03, 2014 12:14 am
by matt81
Hi Guys,
I just need to know when are indexes rebuild. Is that once a day? I couldn't find anything on the Cron tab, all I can see is Text Extractor Worker, which is executed every 5 minutes.
Thanks
Re: Automatically Rebuild indexes
PostPosted:Fri Sep 05, 2014 6:37 am
by jllort
Rebuild indexes, means rebuild the entire Lucene indexes. This feature is only available from Administration -> Utilities and should only be used in special cases, normally you should not do it. About text extractor worker task, each 5 minutes ( default setting ) process documents from indexing queue. I do not know if I answered your question.
Re: Automatically Rebuild indexes
PostPosted:Sun Sep 07, 2014 11:49 pm
by matt81
Thanks for your reply.
Let me just explain why I have used the Rebuild index functionality.
I have added documents in OpenKM, and then had to Configure OCR. Once configured, when I went to search for scanned PDF's, I got no results. I waited for 15 mins, as I wanted to make sure that the text extracter was run. However still no results, it was only when I rebuild the indexes that the search worked for scanned PDF's.
Do you know why the text extracter doesn't index the scanned PDF's.
Thanks
Re: Automatically Rebuild indexes
PostPosted:Mon Sep 08, 2014 11:41 am
by pavila
It should work without forcing a index rebuild. Which OpenKM version are you using?
Re: Automatically Rebuild indexes
PostPosted:Tue Sep 09, 2014 2:38 am
by matt81
It's community version 6.3.0. So how often are indexes rebuild? Does the text extractor rebuild indexes as well?
Thanks
Re: Automatically Rebuild indexes
PostPosted:Tue Sep 09, 2014 10:05 am
by pavila
You don't need to rebuild indexes. When a document is updated or a keyword is added or removed, the indexes are automatically updated. You only need to update manually your indexes if you change the Lucene analyzer.
Re: Automatically Rebuild indexes
PostPosted:Wed Apr 15, 2015 1:33 pm
by Catscratch
I got a questions regarding the automatic index update.
Is the index also updated, when changing property values of a property group? Because I realized, when changing values search does not return the documents.
E.g. I got a document with a property value of "A" and search for "A". Then 1 document is returned.
When I change the property value to "B" and search for "B" no result is returned. When I search for "A" again, I got the document (wrong property right now).
Then, when I go to administration and rebuild the lucene index manually and search for "B" again, everything is ok.
So it seems the index is not updated when updating the document properties.
Using community version 6.3.1.
Re: Automatically Rebuild indexes
PostPosted:Fri Apr 17, 2015 10:58 am
by pavila
Please, attach any information or configuration info needed to reproduce the issue, and also the detailed steps.
Regards.