(from github.com/arwed)
How do I limit the results of the site search to a certain label?
(from github.com/marevol)
label:VALUE
VALUE is a label value.
(from github.com/arwed)
Thanks for the quick answer. Is there a way I can set a label as default?
(from github.com/marevol)
See Default Label Value.
(from github.com/arwed)
Sorry, I meant somewhere in the settings of the site search form:
<script>
(function() {
var fess = document.createElement('script');
fess.type = 'text/javascript';
fess.async = true;
fess.src = '//<Server Name>/js/ss/fess-ss.min.js';
fess.charset = 'utf-8';
fess.setAttribute('id', 'fess-ss');
fess.setAttribute('fess-url', '//<Server Name>/json');
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(fess, s);
})();
</script>
<fess:search></fess:search>