summaryrefslogtreecommitdiff
path: root/defaults/yacy.init
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2017-10-09 14:13:46 +0200
committerluccioman <luccioman@users.noreply.github.com>2017-10-09 14:13:46 +0200
commitdbff7b14fcc405d8b8ab75e1d784595459ae00c1 (patch)
tree66d6b114e640b7dad23f7dbfd21b1ad3e4967b6f /defaults/yacy.init
parentf8c7d0265e169be435df4f922f91143b6ce28e99 (diff)
Add a configurable limit to tags initially displayed in search results
When the limit is reached, a button allow expanding/collapsing remaining tags. When this feature is activated without a limit to the number of displayed tags, when encountering search results with a very large number of keywords, the results page can become almost unusable (very long vertical scrollbar)
Diffstat (limited to 'defaults/yacy.init')
-rw-r--r--defaults/yacy.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/defaults/yacy.init b/defaults/yacy.init
index 66c78683e..0cccf84cb 100644
--- a/defaults/yacy.init
+++ b/defaults/yacy.init
@@ -860,6 +860,8 @@ search.result.noreferrer=false
# search result lines may show additional information for each search hit
# these information pieces may be switched on or off
search.result.show.keywords = false
+# Maximum number of keywords initially displayed. The eventual remaining ones can then be expanded.
+search.result.keywords.firstMaxCount = 100
search.result.show.date = true
search.result.show.size = false
search.result.show.metadata = false