[opencms-dev] Error and no results on search in multi site system
Schliemann, Kai
K.Schliemann at comundus.com
Fri Feb 19 11:58:01 CET 2016
Hello Thorsten,
good, that you solved most of your problems.
We are using AJAX-based search from the demo. We had to do some tweaking for making it work in a multilingual environment. The demo version is only supposed to work in English.
Best regards
Kai
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Thorsten Duhn
Gesendet: Donnerstag, 18. Februar 2016 11:04
An: opencms-dev at opencms.org
Betreff: Re: [opencms-dev] Error and no results on search in multi site system
Hello,
to get to the conclusion: Whole problem was that I want to find XML content types (which have their list and detail pages) and also content (like "flexible" in demo modules), which of course are included directly in container pages, where the container page should be found and listed, not its XML content (as there of course is no detail page configured, so rendered link leads to the XML file).
Solution: "type:containerpage or regio-*" (and configuration: containerPageOnly in schema and SearchContent in formatter).
Still a problem: Contentload lists are not really supposed for showing containerpage items. You can get file property for title (instead of item.value.Title), but a teaser is quite difficult to retrieve. I guess that is why OC10 will get new <cms:search> feature.
I'm quite curious that this isn't a more common problem, is everyone doing site search like in demo with JavaScript and AJAX? Or has anyone a solution for retrieving teaser to share?
Regards,
Thorsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160219/d20347bf/attachment.htm>
More information about the opencms-dev
mailing list