• OpenKM 5.0-RC1 - Keyword Search

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #7268  by suresh
 
The Keyword Search in this release is "Case Sensitive" making it difficult for users to use this feature.
Can you help in this regards. Where can this change be made ??
 #7273  by jllort
 
The most easiest way to change it, is on servlet making lowercase all keywords.

We had been talking about it ... but we've considered upper and lower case are different ... that's more near an end user problem than openkm. I'm not sure but I think delicios make diferences between upper and lower case ... as I said I'm not sure.
 #7358  by suresh
 
Keyword search was not case sensitve in OpenKM 4.1 release, is there any special reason for the change.
I am unable to do the changes in 5.0-RC1 can you please help in understanding the lines of code and the servlet where it needs to be changed.
Because this part of the feature is used extensively by the users. I had migrated to RC1 due to IE issues in 4.1
 #7374  by jllort
 
Document.java ( on properties ) references OKMPropertyServlet addKeyword and on PropertyServlet make this change

replace
Code: Select all
OKMProperty.getInstance().addKeyword(null, nodePath, keyword);
to
OKMProperty.getInstance().addKeyword(null, nodePath, keyword.toLowerCase());

It might be Changed too OKMSearchServlet -> query params ( the most easies way could be done in Util.java where GWTQueryParam conversion to QueryParam , here make the same operation

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.