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

always.work.in.progress always.work.in.progress always.work.in.progress at gmail.com
Tue Nov 29 16:18:00 CET 2016


thanks Paul!
i have tried setting to a specific folder that property,  but it seems to
not work from inside Opencms 10 :(
(i obtain the same search results containing files from that specific
folder)
i have tried setting "search.exclude" to "all" , too, but still the same..
Can you try inside your opencms 10 environment ?

thanks!

2016-11-29 15:41 GMT+01:00 Paul-Inge Flakstad <flakstad at npolar.no>:

> 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@
> 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.
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20161129/8b4b8277/attachment.htm>


More information about the opencms-dev mailing list