<div dir="ltr"><div><div><div><div><div><div><div><div><div>hi Daniel,<br></div>thanks for your test;<br></div>this is very strange, since i have tried another time (set
"search.exclude" to "true" to specific folders inside my opencms site and then rebuilt
"Solr Offline" and i also restarted Java Tomcat) and then i made a search from a configured search page inside my site and also through "Search Management > Source search" (logged as "Admin" and in project offline) -> well, contents inside those "excluded" specific folders are found :(<br></div>(and during rebuilding i saw that are not skipped..)<br></div>Since another user (<span style="font-family:"calibri","sans-serif";color:black">Filip Kratochvil)</span> experiments same issue/problem, maybe opencms-docker for
10.0.1 you've tried has different code/installation/settings/etc..than the standard Opencms 10 installation ?<br></div></div>Could you make the same test in an standard opencms 10.0.0/10.0.1 linux java/tomcat installation/environment ?<br><br></div>thanks again..<br></div>Bye,<br></div>A.<br><div><div><div><div><br><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-30 15:44 GMT+01:00 Daniel Seidel <span dir="ltr"><<a href="mailto:d.seidel@alkacon.com" target="_blank">d.seidel@alkacon.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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><div class="h5">
<div class="m_-2416452001075848468moz-cite-prefix">Am 30.11.2016 um 14:55 schrieb Filip
Kratochvil:<br>
</div>
<blockquote type="cite">
<div class="m_-2416452001075848468WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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.<u></u><u></u></span></p>
<p class="MsoNormal"><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>
------------------------------<wbr>------------------<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 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 href="http://www.nelasoft.cz/" target="_blank">www.nelasoft.cz</a></span><span style="font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">Twitter: </span><span style="color:#1f497d"><a href="https://twitter.com/NELASOFT" target="_blank">@NELASOFT</a></span><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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="m_-2416452001075848468moz-txt-link-abbreviated" href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.<wbr>org</a>
[<a class="m_-2416452001075848468moz-txt-link-freetext" href="mailto:opencms-dev-bounces@opencms.org" target="_blank">mailto:opencms-dev-bounces@<wbr>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 ?<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">hi Daniel,<u></u><u></u></p>
</div>
<p class="MsoNormal">yes, i have rebuilt the search
index and nothing changed -> specific folder is
always included in search results;<u></u><u></u></p>
</div>
<p class="MsoNormal">during index rebuilding, i could
see in real time log, that "specific folder" was not
skipped<u></u><u></u></p>
</div>
<p class="MsoNormal">could be an opencms 10 bug ?<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Anyone
else can try this "search.exclude" setting ?<u></u><u></u></p>
</div>
<p class="MsoNormal">bye,<u></u><u></u></p>
</div>
<p class="MsoNormal">A.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2016-11-29 17:40 GMT+01:00 <<a href="mailto:d.seidel@alkacon.com" target="_blank">d.seidel@alkacon.com</a>>:<u></u><u></u></p>
<p>Hi, did you rebuild the search Index after you set
search.exclude? After doing so it should work.<u></u><u></u></p>
<p>Best, Daniel.<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Am 29.11.2016 4:18 nachm.
schrieb "always.work.in.progress
always.work.in.progress " <<a href="mailto:always.work.in.progress@gmail.com" target="_blank">always.work.in.progress@<wbr>gmail.com</a>>:<u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">thanks Paul!<u></u><u></u></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 :(<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">(i obtain the same search
results containing files from that specific
folder)<u></u><u></u></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
?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">thanks!<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2016-11-29 15:41 GMT+01:00
Paul-Inge Flakstad <<a href="mailto:flakstad@npolar.no" target="_blank">flakstad@npolar.no</a>>:<u></u><u></u></p>
<div>
<div>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi
A.,</span><u></u><u></u></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></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><u></u><u></u></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Cheers,</span><u></u><u></u></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Paul</span><u></u><u></u></p>
<p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></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 href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.<wbr>org</a>
[mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@<wbr>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 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><u></u><u></u></p>
<div>
<div>
<p> <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p style="margin-bottom:12.0pt">hi
all,<u></u><u></u></p>
</div>
<p>i have my opencms
10 active on a
multisite
environment;<u></u><u></u></p>
</div>
<p>i have my Solr Search
index source assigned
to the root of my
site:<u></u><u></u></p>
</div>
<p>assigned Index Solr
source: "/sites/mysite/"<u></u><u></u></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;<u></u><u></u></p>
</div>
<div>
<p>well, i have a specific
folder, inside mysite:
"/sites/mysite/specific"<u></u><u></u></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;<u></u><u></u></p>
</div>
<p style="margin-bottom:12.0pt">is
there a way to accomplish this
task ?<u></u><u></u></p>
</div>
<p>thanks in advance,<u></u><u></u></p>
</div>
<p>bye,<u></u><u></u></p>
</div>
<p>A.<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<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 href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
<br>
<br>
<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<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 href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
<br>
<br>
<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>
<fieldset class="m_-2416452001075848468mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
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="m_-2416452001075848468moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a>
</pre>
</blockquote>
<br>
</div></div><pre class="m_-2416452001075848468moz-signature" cols="72">--
Daniel Seidel
-------------------
Alkacon Software GmbH & Co. KG - The OpenCms Experts
Daniel Seidel
An der Wachsfabrik 13
50996 Koeln, DE
Tel: <a href="tel:+49%202236%20382616" value="+492236382616" target="_blank">+49 (0)2236 3826-16</a>
Fax: <a href="tel:+49%202236%20382620" value="+492236382620" target="_blank">+49 (0)2236 3826-20</a>
Email: <a class="m_-2416452001075848468moz-txt-link-abbreviated" href="mailto:d.seidel@alkacon.com" target="_blank">d.seidel@alkacon.com</a>
<a class="m_-2416452001075848468moz-txt-link-freetext" href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a>
<a class="m_-2416452001075848468moz-txt-link-freetext" href="http://www.opencms.org" target="_blank">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>
</div>
<br>______________________________<wbr>_________________<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 href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>