<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
I think the difference between my test and your test is that you
used the source search. I used the Solr-Handler. I can't check
things now since I have no OpenCms installation here, but in
principal, you can set "search.exclude" to "all", "true" or
"false". The difference between "all" and "true" is, that "all"
will exclude the resource from being found internally by the
system (e.g., in the "Add wizard") while "true" will only exclude
it from front-end searches, such as the ones where you build a
list or a search page, or use the Solr-Handler. Seems like
source-search finds all resources that are "interally" found.<br>
You can make the following tests:<br>
<br>
1) check if you find the resource still when you set
"search.exclude" to "all" (and rebuild the index)<br>
2) check if you find the resource with "search.exclude" set to
"true" with the Solr-Handler (e.g. via: <a class="moz-txt-link-freetext" href="http://">http://</a>{your opencms
url}/handleSolrSelect?q={unique text in your
content}&fq=type:{resource type name of your content})<br>
<br>
Best, Daniel.<br>
<br>
<br>
Am 12.12.2016 um 15:48 schrieb always.work.in.progress
always.work.in.progress:<br>
</div>
<blockquote
cite="mid:CAB58U9HNHd3WMOiO6tU_MtmcwnNeRJYO_DTOcGor0kbtsNMqqQ@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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,</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </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.</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
moz-do-not-send="true"
href="mailto:filip.kratochvil@nelasoft.cz"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:filip.kratochvil@nelasoft.cz">filip.kratochvil@nelasoft.cz</a></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"></span></p>
<p class="MsoNormal"><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"></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </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 moz-do-not-send="true"
class="m_-2416452001075848468moz-txt-link-abbreviated"
href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.<wbr>org</a>
[<a moz-do-not-send="true"
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 ?</span></p>
<p class="MsoNormal"> </p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">hi Daniel,</p>
</div>
<p class="MsoNormal">yes, i have
rebuilt the search index and nothing
changed -> specific folder is
always included in search results;</p>
</div>
<p class="MsoNormal">during index
rebuilding, i could see in real time
log, that "specific folder" was not
skipped</p>
</div>
<p class="MsoNormal">could be an opencms
10 bug ?</p>
</div>
<p class="MsoNormal"
style="margin-bottom:12.0pt">Anyone else
can try this "search.exclude" setting ?</p>
</div>
<p class="MsoNormal">bye,</p>
</div>
<p class="MsoNormal">A.</p>
</div>
<div>
<p class="MsoNormal"> </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>>:</p>
<p>Hi, did you rebuild the search Index after
you set search.exclude? After doing so it
should work.</p>
<p>Best, Daniel.</p>
<div>
<div>
<div>
<p class="MsoNormal"> </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@<wbr>gmail.com</a>>:</p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">thanks
Paul!</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 :(</p>
</div>
<div>
<p class="MsoNormal">(i obtain
the same search results
containing files from that
specific folder)</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 ?</p>
</div>
<div>
<p class="MsoNormal">thanks!</p>
</div>
</div>
<div>
<p class="MsoNormal"> </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"><a class="moz-txt-link-abbreviated" href="mailto:flakstad@npolar.no">flakstad@npolar.no</a></a>>:</p>
<div>
<div>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi
A.,</span></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></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></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Cheers,</span></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Paul</span></p>
<p><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></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.<wbr>org</a>
[mailto:<a
moz-do-not-send="true"
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
moz-do-not-send="true"
href="mailto:opencms-dev@opencms.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a></a>><br>
<b>Subject:</b>
[opencms-dev] Opencms 10 -
Solr Index Search - How to
exclude a specific folder
from searched results ?</span></p>
<div>
<div>
<p> </p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p
style="margin-bottom:12.0pt">hi
all,</p>
</div>
<p>i have my
opencms 10
active on a
multisite
environment;</p>
</div>
<p>i have my
Solr Search
index source
assigned to
the root of my
site:</p>
</div>
<p>assigned
Index Solr
source:
"/sites/mysite/"</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;</p>
</div>
<div>
<p>well, i
have a
specific
folder, inside
mysite:
"/sites/mysite/specific"</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;</p>
</div>
<p
style="margin-bottom:12.0pt">is
there a way to
accomplish this
task ?</p>
</div>
<p>thanks in
advance,</p>
</div>
<p>bye,</p>
</div>
<p>A.</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 moz-do-not-send="true"
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>
</p>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
<p class="MsoNormal"> </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 moz-do-not-send="true"
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>
</p>
</div>
<p class="MsoNormal"> </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 moz-do-not-send="true" 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>
</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 moz-do-not-send="true" href="tel:+49%202236%20382616" value="+492236382616" target="_blank">+49 (0)2236 3826-16</a>
Fax: <a moz-do-not-send="true" href="tel:+49%202236%20382620" value="+492236382620" target="_blank">+49 (0)2236 3826-20</a>
Email: <a moz-do-not-send="true" class="m_-2416452001075848468moz-txt-link-abbreviated" href="mailto:d.seidel@alkacon.com" target="_blank">d.seidel@alkacon.com</a>
<a moz-do-not-send="true" class="m_-2416452001075848468moz-txt-link-freetext" href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a>
<a moz-do-not-send="true" 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>
______________________________<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 moz-do-not-send="true" 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>
</blockquote></div>
</div>
<fieldset class="mimeAttachmentHeader"></fieldset>
<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><p>
</p></body></html>