[opencms-dev] Opencms 10 - Solr Index Search - How to exclude a specific folder from searched results ?

Paul-Inge Flakstad flakstad at npolar.no
Tue Nov 29 15:41:02 CET 2016


Hi A.,

Setting the property "search.exclude" to "true" does the trick. At least in earlier versions. Haven't tested it on v10.

Cheers,
Paul

From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of always.work.in.progress always.work.in.progress
Sent: 29. november 2016 15:27
To: The OpenCms mailing list <opencms-dev at opencms.org>
Subject: [opencms-dev] Opencms 10 - Solr Index Search - How to exclude a specific folder from searched results ?

hi all,
i have my opencms 10 active on a multisite environment;
i have my Solr Search index source assigned to the root of my site:
assigned Index Solr source: "/sites/mysite/"
i have a search page defined inside my site and it correctly throws all results found;
well, i have a specific folder, inside mysite: "/sites/mysite/specific"
that i want to exclude from within the searched results,
so it should not be indexed by the Solr search or ignored from within the results;
is there a way to accomplish this task ?
thanks in advance,
bye,
A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20161129/0fa4b509/attachment.htm>


More information about the opencms-dev mailing list