[opencms-dev] handleSolrSelect on OpenCMS 12

Michael Emmerich m.emmerich at alkacon.com
Fri Oct 22 08:47:27 CEST 2021


Bernhard,


the default settings of OpenCms 12 (and I think this was already 
introduced in 11) is that the Solr handler is only available for the 
offline index.


You can enable the Solr Handler for each index, see 
https://documentation.opencms.org/opencms-documentation/more-opencms-features/solr-search-integration/solr-handler/index.html#3 


but we would recommend to configure it that it is only usable for 
debugging/testing as described in the docu.


Why?


While the solr handler only returns search results that are accessible 
for the user who calls the handler (so in most cases this would be the 
guest user), you are still able to retrieve information from  the search 
results that you do not want to provide to the public. Therefore we 
prefer to work with the <cms:search> tag and not to make the handler 
available on the online project.


Kind regards,

Michael








Am 21.10.21 um 20:10 schrieb Bernhard Zebedin:
>
> Dear all.
>
> I have a problem accessing handleSolrSelect on OpenCMS 12.
>
> When I am logged in it works without a problem.
>
> If I am not logged in I get an HTTP ERROR 417
>
> Does anybody has an idea?
>
>
> This is the URL:
>
> https://workplace.mapexplorer.com/handleSolrSelect?fq=type:GeoName&fq=parent-folders:%22/shared/data/%22&fq=con_locales:de 
> <https://workplace.mapexplorer.com/handleSolrSelect?fq=type:GeoName&fq=parent-folders:%22/shared/data/%22&fq=con_locales:de>​
>
>
> br
>
> Bernhard
>
>
> _______________________________________________
> 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
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-- 
Kind Regards
Michael.
-------------------
Michael Emmerich
Alkacon Software GmbH & Co. KG - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.opencms.org/pipermail/opencms-dev/attachments/20211022/72f7f2d4/attachment.htm>


More information about the opencms-dev mailing list