From 0667efa1188c152015868c24fd61fb159d6583b2 Mon Sep 17 00:00:00 2001 From: Birgit Heydenreich Date: Tue, 13 Sep 2016 15:10:21 +0200 Subject: [PATCH] set lucene.limit to 150 * get a maximum of 150 results when using the filter in project and component portlet * has to be tested: is speed still ok? * closes #221 if speed is ok --- build-configuration/resources/couchdb.properties | 1 + .../includes/moderationActionButtons.jspf | 16 ++++++++++++++++ .../moderation/includes/moderationActions.jspf | 16 ++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 frontend/sw360-portlet/src/main/webapp/html/moderation/includes/moderationActionButtons.jspf create mode 100644 frontend/sw360-portlet/src/main/webapp/html/moderation/includes/moderationActions.jspf diff --git a/build-configuration/resources/couchdb.properties b/build-configuration/resources/couchdb.properties index f59eb7009..7ce631baf 100644 --- a/build-configuration/resources/couchdb.properties +++ b/build-configuration/resources/couchdb.properties @@ -17,3 +17,4 @@ couchdb.usersdb = sw360users couchdb.attachments = sw360attachments couchdb.fossologyKeys = sw360fossologykeys couchdb.vulnerability_management = sw360vm +lucenesearch.limit = 150 diff --git a/frontend/sw360-portlet/src/main/webapp/html/moderation/includes/moderationActionButtons.jspf b/frontend/sw360-portlet/src/main/webapp/html/moderation/includes/moderationActionButtons.jspf new file mode 100644 index 000000000..84ad8fd69 --- /dev/null +++ b/frontend/sw360-portlet/src/main/webapp/html/moderation/includes/moderationActionButtons.jspf @@ -0,0 +1,16 @@ +<%-- + Created by IntelliJ IDEA. + User: heydenrb + Date: 13.09.16 + Time: 12:08 + To change this template use File | Settings | File Templates. +--%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + $Title$ + + +$END$ + + diff --git a/frontend/sw360-portlet/src/main/webapp/html/moderation/includes/moderationActions.jspf b/frontend/sw360-portlet/src/main/webapp/html/moderation/includes/moderationActions.jspf new file mode 100644 index 000000000..8ca3f2e7a --- /dev/null +++ b/frontend/sw360-portlet/src/main/webapp/html/moderation/includes/moderationActions.jspf @@ -0,0 +1,16 @@ +<%-- + Created by IntelliJ IDEA. + User: heydenrb + Date: 13.09.16 + Time: 12:12 + To change this template use File | Settings | File Templates. +--%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + $Title$ + + +$END$ + +