[opencms-dev] OpenCms 9 search in container pages content problem

Siegfried Ehret s.ehret at eurelis.com
Tue Jan 7 14:26:11 CET 2014


Hi,

I also have issues when I try to search for content in a containerpage.

I have a containerpage with a custom article element.
When I search, I can't get a valid excerpt.

I opened the index with Luke.
The article contains a valid "content_<locale>" content, but this field is empty for the containerpage.

Dear OpenCms team, is there anything special to do to enable bubbling child elements content_<locale> to the main containerpage ?

Thanks.

Siegfried Ehret

De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de 3digits - Pablo Beltrán
Envoyé : lundi 30 décembre 2013 09:18
À : The OpenCms mailing list (opencms-dev at opencms.org)
Objet : [opencms-dev] OpenCms 9 search in container pages content problem

Hello list,

I'm currently building a test website with OpenCms 9. I'm trying to enable search text content inside container pages but I can't, and I'm able to do that in previous version (8.5.2).

In 8.5 you can set searchcontent="true" inside formatter configuration in the XSD content definition. So when you perform a text query, if that text is inside a textblock resource type that its inside a container page the search results page shows you an entry to that page.

Now, in OpenCms 9, you should do that in the new formatter configuration, that's OK, but it has no effect. Even doing that on a fresh install demo it doesn't work. For example:

http://localhost:8080/opencms/opencms/handleSolrSelect?fq=-type:bs-blog&fq=text_en:lorem

This query excludes bs-blog contents and, as far as I know, it should show many container pages containing bs-textblock's. This content type comes configured with SearchContent=true.

Maybe I'm missing something here...

Regards.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140107/b96841f4/attachment.htm>


More information about the opencms-dev mailing list