[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
Mon Dec 12 15:48:39 CET 2016
hi Daniel,
thanks for your test;
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 :(
(and during rebuilding i saw that are not skipped..)
Since another user (Filip Kratochvil) 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 ?
Could you make the same test in an standard opencms 10.0.0/10.0.1 linux
java/tomcat installation/environment ?
thanks again..
Bye,
A.
2016-11-30 15:44 GMT+01:00 Daniel Seidel <d.seidel at alkacon.com>:
> Hi,
>
> 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.
>
>
> Best, Daniel.
> Am 30.11.2016 um 14:55 schrieb Filip Kratochvil:
>
> Hi,
>
>
>
> i tried it now (OpenCms 10.0.1) and you are right – setting doesn’t work.
> In older versions we used it without problems.
>
> --
> S pozdravem / Kind regards
> Filip Kratochvil
> ------------------------------------------------
> NELASOFT Technologies, s.r.o.
> E-mail: filip.kratochvil at nelasoft.cz
> Web: www.nelasoft.cz
>
> Twitter: @NELASOFT <https://twitter.com/NELASOFT>
>
>
>
> *From:* opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces@
> opencms.org <opencms-dev-bounces at opencms.org>] *On Behalf Of *always.work.in.progress
> always.work.in.progress
> *Sent:* Wednesday, November 30, 2016 11:39 AM
> *To:* The OpenCms mailing list
> *Subject:* Re: [opencms-dev] Opencms 10 - Solr Index Search - How to
> exclude a specific folder from searched results ?
>
>
>
> hi Daniel,
>
> yes, i have rebuilt the search index and nothing changed -> specific
> folder is always included in search results;
>
> during index rebuilding, i could see in real time log, that "specific
> folder" was not skipped
>
> could be an opencms 10 bug ?
>
> Anyone else can try this "search.exclude" setting ?
>
> bye,
>
> A.
>
>
>
> 2016-11-29 17:40 GMT+01:00 <d.seidel at alkacon.com>:
>
> Hi, did you rebuild the search Index after you set search.exclude? After
> doing so it should work.
>
> Best, Daniel.
>
>
>
> Am 29.11.2016 4:18 nachm. schrieb "always.work.in.progress
> always.work.in.progress " <always.work.in.progress at gmail.com>:
>
> 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
>
>
>
>
>
>
>
>
> _______________________________________________
> 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
>
>
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visithttp://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
> --
> 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 <+49%202236%20382616>
> Fax: +49 (0)2236 3826-20 <+49%202236%20382620>
> Email: d.seidel at alkacon.com
> http://www.alkacon.comhttp://www.opencms.org
>
> Amtsgericht Köln, HRA 32185, USt-IdNr.: DE259882372
> Vertreten durch: Alkacon Verwaltungs GmbH
> Geschäftsführer: Alexander Kandzior, Amtsgericht Köln, HRB 88218
>
>
> _______________________________________________
> 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/20161212/b89d474c/attachment.htm>
More information about the opencms-dev
mailing list