Page 1 of 1

Search problem in simple mode

PostPosted:Sun Dec 27, 2020 7:17 am
by E80437
I have installed OpenKM 6.3.10 in Ubuntu Server 20.04, but there is a confusing problem. It can not find any result by the full-text search of simple mode, but queries are possible in advanced mode. What wrong with my configuration? And how to check it? Thank you!

Attachment is an sample file, and some pictures.

Re: Search problem in simple mode

PostPosted:Sun Dec 27, 2020 7:23 am
by E80437
I found following debug messages in tomcat log file:
Code: Select all
2020-12-27 07:21:41,649 [http-nio-0.0.0.0-8080-exec-10] DEBUG c.o.servlet.frontend.SearchServlet - findSimpleQueryPaginated(Force)
2020-12-27 07:21:41,650 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.api.OKMSearch - findSimpleQueryPaginated(null)
2020-12-27 07:21:41,651 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.module.db.DbSearchModule - findSimpleQueryPaginated(null, Force, 0, 10)
2020-12-27 07:21:41,651 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.dao.SearchDAO - findBySimpleQuery(Force AND context:okm_root, 0, 10)
2020-12-27 07:21:41,652 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.dao.SearchDAO - findBySimpleQuery.query: +text:forc +(context:okm context:root)
2020-12-27 07:21:41,652 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.dao.SearchDAO - runQueryLucene(org.hibernate.search.impl.FullTextSessionImpl@3650cb54, +text:forc +(context:okm context:root), 0, 10)
2020-12-27 07:21:41,653 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.dao.SearchDAO - buildFilter()
2020-12-27 07:21:41,653 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.dao.SearchDAO - runQueryLucene: {total=0, results=[]}
2020-12-27 07:21:41,654 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.dao.SearchDAO - findBySimpleQuery: {total=0, results=[]}
2020-12-27 07:21:41,654 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.util.UserActivity - {id=0, date=Sun Dec 27 07:21:41 UTC 2020, user=okmAdmin, action=FIND_SIMPLE_QUERY_PAGINATED, item=null, path=null, params=0, 10, Force AND context:okm_root}
2020-12-27 07:21:41,654 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.module.db.DbSearchModule - findSimpleQueryPaginated: {total=0, results=[]}
2020-12-27 07:21:41,654 [http-nio-0.0.0.0-8080-exec-10] DEBUG com.openkm.api.OKMSearch - findSimpleQueryPaginated: {total=0, results=[]}
2020-12-27 07:21:41,654 [http-nio-0.0.0.0-8080-exec-10] DEBUG c.o.servlet.frontend.SearchServlet - findSimpleQueryPaginated: []

Re: Search problem in simple mode

PostPosted:Wed Dec 30, 2020 7:32 pm
by jllort
In simple mode is not search by name is searching by content ( quick check is uploading a txt file and search by some term into the txt file )