Page 2 of 2

Re: search content not working

PostPosted:Thu Jan 05, 2012 9:10 pm
by Bart
Can we merge this thread with this one: http://forum.openkm.com/viewtopic.php?f=3&t=5578 ??

Re: Search doesn't work (5.1.8)

PostPosted:Fri Jan 06, 2012 3:50 pm
by Bart
Continuing here. see also http://forum.openkm.com/viewtopic.php?f=4&t=5572

I just installed OpenKm 5.1.7 (previous release) and tested with the same file. Search now works! So we definitly know it's a 5.18 issue..

What's is the best way to start looking for the problem? I have increased the loglevel and added the category com.openkm.servlet.frontend. But the amount of logging is HUGE!

Re: Search doesn't work (5.1.8)

PostPosted:Mon Jan 09, 2012 9:58 am
by yfzhou72
I've got the same issue. I'm running a fresh intallation of 5.1.8 on Windows 2003, JRE 7u2. Everything get ok except no results when search content. How OpenKM search engineer working, and is there any log to track what happening?

BR,

Sam

Re: Search doesn't work (5.1.8)

PostPosted:Mon Jan 09, 2012 11:25 am
by pavila
Posts merged as requested.

Re: Search doesn't work (5.1.8)

PostPosted:Mon Jan 09, 2012 11:30 am
by pavila
I think that text extractors are disabled in repository.xml, please attach this file. Anyway to enable text extraction, go to Administration > Configuration and check the experimental.text.extraction property.

Re: Search doesn't work (5.1.8)

PostPosted:Mon Jan 09, 2012 1:12 pm
by yfzhou72
I've just enable the "experimental.text.extraction", and restart the application. But seems not work still. Attached please find my repository.xml.

Re: Search doesn't work (5.1.8)

PostPosted:Mon Jan 09, 2012 1:26 pm
by yfzhou72
Just confirmed, after enable "experimental.text.extraction", and restart the application, and re-upload the files, the search content function works! Thanks a lot to pavila.
I've test word file, text file and PDf, all works fine.

BR,

Sam

Re: Search doesn't work (5.1.8)

PostPosted:Mon Jan 09, 2012 6:12 pm
by pavila
Nice to read :)

Re: Search doesn't work (5.1.8)

PostPosted:Mon Jul 21, 2014 7:39 am
by icek
Hi Pavila,

I have just installed the 6.14 OpenKM Pro Trial version for my company. I would like to make a demo to my bosses.
The issue is that the search function doesn't work for the content, within documents (txt, doc...). It works fine for the name.
There is no experimental.text.extraction option in Administration-> Config.

Re: Search doesn't work (5.1.8)

PostPosted:Tue Jul 22, 2014 4:40 pm
by jllort
Take in mind documents go into text extraction queue and processed in a 5 minutes period. That mean documents content are not indexed just in time ( can be done but is not the default procedure ) go into queue and are sequentially processed. I suggest go to Administration -> Stats -> Indexing queue to see if still you got pending documents to be indexed there. When documents are indexed extracted content value can be shown in database go to Administration -> Utilities -> Database query and execute select * from OKM_NODE_DOCUMENT ( you can see a column what indicate if text has already been extracted = T and the content ). With this information we'll got more information about what happens with your documents. You can force indexing from crontab task and also indexing more document per cycle with Administration -> Configuration parameters -> managed -> property managed.text.extraction.batch

Re: Search doesn't work (5.1.8)

PostPosted:Tue Jul 29, 2014 9:24 am
by pavila
If you want to force the text extraction, go to Administration > Crontab and execute the Text Extractor Worker task.

Re: Search doesn't work (5.1.8)

PostPosted:Thu Sep 04, 2014 11:34 am
by jan.sladek
Hi,

I have just installed the openKM 6.3.0. on Ubuntu 14.04 and have a problem with search engine. The Default OkmAdmin user can search for everything wihtout problem, while custom created users with custom created profile can't search for the documents they uploaded. Either searching by name or contnent, the text, PDF, Openoffice or MS office documents can't be found. I even tried to assign the Default user profile as Admin to the custome user, but there are no results for the search query. What could be the settings/permissions that restrict users from getting the proper results of search query?

thanks

Jan

Re: Search doesn't work (5.1.8)

PostPosted:Fri Sep 05, 2014 6:22 pm
by jllort
Please jan, add new post about it, because has not relation with search in 5.1.8 or 5.1.X version. Merge questions on same post will generate confusion to other readers.