summaryrefslogtreecommitdiff
path: root/defaults/yacy.init
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2017-12-23 18:56:17 +0100
committerluccioman <luccioman@users.noreply.github.com>2017-12-23 18:56:17 +0100
commite6907fdab37bb05d9766b2ea67a9d25f45e7f42c (patch)
tree36b0305ec6f0e025d904d76dfd9639c20a72396f /defaults/yacy.init
parentf52217c9397a88385ba8cf58478545c20ee4b70c (diff)
Added optional search parameter/setting to control content domain filter
Thus allowing to choose at configuration or per search request, whether extending or not results beyond strict content domain filter (image, video, audio or application). Related graphical controls to be added to user interface.
Diffstat (limited to 'defaults/yacy.init')
-rw-r--r--defaults/yacy.init11
1 files changed, 11 insertions, 0 deletions
diff --git a/defaults/yacy.init b/defaults/yacy.init
index 1d8c67449..a13b1a055 100644
--- a/defaults/yacy.init
+++ b/defaults/yacy.init
@@ -843,6 +843,17 @@ search.audio = false
search.video = false
search.app = false
+# Strict content domain filtering : when false, results can be extended to documents including links to documents
+# of contentdom type, whithout being themselves of that type.
+# Examples :
+# - contentdom search param == image, strictContentDom == true
+# - jpeg image : acceptable result
+# - html page embedding images : rejected
+# - contentdom search param == image, strictContentDom == false
+# - jpeg image : acceptable result
+# - html page embedding images : acceptable result
+search.strictContentDom = false
+
# number of search results per page displayed by default
search.items = 10