unplug Keyword Map feature

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.
Post Reply
Junior Boarder
Junior Boarder
Posts: 20
Joined: Wed Sep 02, 2015 1:47 pm

unplug Keyword Map feature

Post by sunil »


I have more that 1 million keywords for all the documents available in OpenKM.

All features are working fine except Keyword Map(in Dashboard screen, where all the available keywords are listed). Due to high volume of keywords, OpenKM hangs.

I tried to unplug it from profile menu but it still request for all keywords on pageload and hangs.

Can somebody direct me to the code from where i can simply disable this request?


Posts: 11193
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain

Re: unplug Keyword Map feature

Post by jllort »

First can try to hide the tag cloud in dashboard panel from profiles ( I think community it have this feature ).

In source code you might be interested in classes:
My suggestion is comment everything into the method ( basically return always empty list ).
SearchServlet line 223

Code: Select all

public List<GWTKeyword> getKeywordMap(List<String> filter) throws OKMException {
KeyMapDashboard line 592

Code: Select all

	 * getKeywordMap
	public void getKeywordMap(List<String> filter) {
		// Only make call when collection is not empty, other case there's no filtering by keyword and
		// result it'll be inconsistent
		if (!filter.isEmpty()) {
			if (showStatus() && keyRelatedTable.isVisible()) {
			searchService.getKeywordMap(filter, callbackGetKeywordMapFiltered);
		} else if (dashboardVisible) {
			drawTagCloud(); // Draws tag cloud
KeywordMap.java line 228

Code: Select all

for (GWTKeyword key : Main.get().mainPanel.dashboard.keyMapDashboard.getAllKeywordList()) {
			String keyword = key.getKeyword();
Hope can help you on it.

Post Reply