<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>I tried to reproduce the behavior with the opencms-docker for
10.0.1. Everything worked fine. In the demo, I set
"search.exclude" to "true" at the tutorial folder and rebuilt
"Solr Offline". No tutorial pages were found anymore (when logged
in and in the offline project). Not via the search page nor via
handleSolrSelect.</p>
<p><br>
</p>
<p>Best, Daniel.<br>
</p>
<div class="moz-cite-prefix">Am 30.11.2016 um 14:55 schrieb Filip
Kratochvil:<br>
</div>
<blockquote cite="mid:00ec01d24b11$74d1f610$5e75e230$@nelasoft.cz"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
mso-fareast-language:CS;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">i
tried it now (OpenCms 10.0.1) and you are right – setting
doesn’t work. In older versions we used it without problems.<o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Calibri","sans-serif";color:black">--<br>
S pozdravem / </span><span
style="font-family:"Calibri","sans-serif";color:black"
lang="EN-US">Kind regards</span><span
style="font-family:"Calibri","sans-serif";color:black"><br>
Filip Kratochvil<br>
------------------------------------------------<br>
NELASOFT Technologies, s.r.o.</span><span
style="font-family:"Calibri","sans-serif";color:#1F497D"><br>
</span><span
style="font-family:"Calibri","sans-serif";color:black">E-mail:
</span><span
style="font-family:"Calibri","sans-serif";color:#1F497D"><a
moz-do-not-send="true"
href="mailto:filip.kratochvil@nelasoft.cz" target="_blank">filip.kratochvil@nelasoft.cz</a><br>
</span><span
style="font-family:"Calibri","sans-serif";color:black">Web:</span><span
style="font-family:"Calibri","sans-serif";color:#1F497D">
<a moz-do-not-send="true" href="http://www.nelasoft.cz/"
target="_blank">www.nelasoft.cz</a></span><span
style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="color:black">Twitter: </span><span
style="color:#1F497D"><a moz-do-not-send="true"
href="https://twitter.com/NELASOFT" target="_blank">@NELASOFT</a></span><span
style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>
[<a class="moz-txt-link-freetext" href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a>] <b>On Behalf Of </b>always.work.in.progress
always.work.in.progress<br>
<b>Sent:</b> Wednesday, November 30, 2016 11:39 AM<br>
<b>To:</b> The OpenCms mailing list<br>
<b>Subject:</b> Re: [opencms-dev] Opencms 10 - Solr Index
Search - How to exclude a specific folder from searched
results ?<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">hi Daniel,<o:p></o:p></p>
</div>
<p class="MsoNormal">yes, i have rebuilt the search
index and nothing changed -> specific folder is
always included in search results;<o:p></o:p></p>
</div>
<p class="MsoNormal">during index rebuilding, i could
see in real time log, that "specific folder" was not
skipped<o:p></o:p></p>
</div>
<p class="MsoNormal">could be an opencms 10 bug ?<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Anyone
else can try this "search.exclude" setting ?<o:p></o:p></p>
</div>
<p class="MsoNormal">bye,<o:p></o:p></p>
</div>
<p class="MsoNormal">A.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2016-11-29 17:40 GMT+01:00 <<a
moz-do-not-send="true"
href="mailto:d.seidel@alkacon.com" target="_blank">d.seidel@alkacon.com</a>>:<o:p></o:p></p>
<p>Hi, did you rebuild the search Index after you set
search.exclude? After doing so it should work.<o:p></o:p></p>
<p>Best, Daniel.<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Am 29.11.2016 4:18 nachm.
schrieb "always.work.in.progress
always.work.in.progress " <<a
moz-do-not-send="true"
href="mailto:always.work.in.progress@gmail.com"
target="_blank">always.work.in.progress@gmail.com</a>>:<o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">thanks Paul!<o:p></o:p></p>
</div>
<p class="MsoNormal">i have tried setting to a
specific folder that property, but it seems
to not work from inside Opencms 10 :(<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">(i obtain the same search
results containing files from that specific
folder)<o:p></o:p></p>
</div>
<p class="MsoNormal"
style="margin-bottom:12.0pt">i have tried
setting "search.exclude" to "all" , too, but
still the same..<br>
Can you try inside your opencms 10 environment
?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">thanks!<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2016-11-29 15:41 GMT+01:00
Paul-Inge Flakstad <<a
moz-do-not-send="true"
href="mailto:flakstad@npolar.no"
target="_blank">flakstad@npolar.no</a>>:<o:p></o:p></p>
<div>
<div>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi
A.,</span><o:p></o:p></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Setting
the property "search.exclude" to "true"
does the trick. At least in earlier
versions. Haven't tested it on v10.</span><o:p></o:p></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers,</span><o:p></o:p></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Paul</span><o:p></o:p></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p><b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">
<a moz-do-not-send="true"
href="mailto:opencms-dev-bounces@opencms.org"
target="_blank">opencms-dev-bounces@opencms.org</a>
[mailto:<a moz-do-not-send="true"
href="mailto:opencms-dev-bounces@opencms.org"
target="_blank">opencms-dev-bounces@opencms.org</a>]
<b>On Behalf Of </b>always.work.in.progress
always.work.in.progress<br>
<b>Sent:</b> 29. november 2016 15:27<br>
<b>To:</b> The OpenCms mailing list <<a
moz-do-not-send="true"
href="mailto:opencms-dev@opencms.org"
target="_blank">opencms-dev@opencms.org</a>><br>
<b>Subject:</b> [opencms-dev] Opencms 10
- Solr Index Search - How to exclude a
specific folder from searched results ?</span><o:p></o:p></p>
<div>
<div>
<p> <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p
style="margin-bottom:12.0pt">hi
all,<o:p></o:p></p>
</div>
<p>i have my opencms
10 active on a
multisite
environment;<o:p></o:p></p>
</div>
<p>i have my Solr Search
index source assigned
to the root of my
site:<o:p></o:p></p>
</div>
<p>assigned Index Solr
source: "/sites/mysite/"<o:p></o:p></p>
</div>
<div>
<p
style="margin-bottom:12.0pt">i
have a search page
defined inside my site
and it correctly throws
all results found;<o:p></o:p></p>
</div>
<div>
<p>well, i have a specific
folder, inside mysite:
"/sites/mysite/specific"<o:p></o:p></p>
</div>
</div>
<p>that i want to exclude from
within the searched results,<br>
so it should not be indexed
by the Solr search or
ignored from within the
results;<o:p></o:p></p>
</div>
<p style="margin-bottom:12.0pt">is
there a way to accomplish this
task ?<o:p></o:p></p>
</div>
<p>thanks in advance,<o:p></o:p></p>
</div>
<p>bye,<o:p></o:p></p>
</div>
<p>A.<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"
style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev
mailing list<br>
To change your list options, or to unsubscribe
from the list, please visit<br>
<a moz-do-not-send="true"
href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev"
target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the
list, please visit<br>
<a moz-do-not-send="true"
href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev"
target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel Seidel
-------------------
Alkacon Software GmbH & Co. KG - The OpenCms Experts
Daniel Seidel
An der Wachsfabrik 13
50996 Koeln, DE
Tel: +49 (0)2236 3826-16
Fax: +49 (0)2236 3826-20
Email: <a class="moz-txt-link-abbreviated" href="mailto:d.seidel@alkacon.com">d.seidel@alkacon.com</a>
<a class="moz-txt-link-freetext" href="http://www.alkacon.com">http://www.alkacon.com</a>
<a class="moz-txt-link-freetext" href="http://www.opencms.org">http://www.opencms.org</a>
Amtsgericht Köln, HRA 32185, USt-IdNr.: DE259882372
Vertreten durch: Alkacon Verwaltungs GmbH
Geschäftsführer: Alexander Kandzior, Amtsgericht Köln, HRB 88218</pre>
</body>
</html>