[opencms-dev] Error and no results on search in multi site system

Schliemann, Kai K.Schliemann at comundus.com
Fri Feb 12 11:30:42 CET 2016


Hi Thorsten,
I cannot say, what is missing, but give hints, what I do, when I don’t get the results, I expect.
Check, if the index you are searching against is correctly built.
Search with handelSolrselect and check if the results are the same.
Check the index with Luke.

HTH
Best regards
Kai


Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Thorsten Duhn
Gesendet: Freitag, 12. Februar 2016 10:56
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Error and no results on search in multi site system


Hello,

I'm working on my first multi site 9.5.2 system (as introduced im OpenCms wiki) and in this I cannot use site search, which is a Solr based content search. Which is working on another (single site) 9.5.1 system.

Using search form in site does render the page with no problem, just no content is found. I use my own resource types (all named mit "regio-" prefix) and did no further configuration on search. This collectorParam is build in my JSP:

&q=benutzer&fq=type:regio-*&fq=parent-folders:"/sites/foobar/"&sort=&rows=99999

So I distinguish my different sites using "parent-folders". In backend administration I cannot search the available Solr indexes, but VFS indexer has results on alike search. So my call of Contentload tag in JSP looks quite like this (for better readability I replaced the number variables by current value):

<cms:contentload collector="byContext" param="${collectorParam}" preload="true" pageSize="10" pageIndex="1" pageNavLength="10">

Log files show no more problems.

As I said I have a comparable 9.5.1 single site system running and site search works in there. I don't see remarkable differences in configuration (back end search indexes, opencms.search.xml, schema.xml), so what am I missing?

Thanx,
Thorsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160212/b55d59df/attachment.htm>


More information about the opencms-dev mailing list