[opencms-dev] OpenCms 9 search in container pages content problem
Siegfried Ehret
s.ehret at eurelis.com
Wed Jan 8 08:51:37 CET 2014
Hello all,
I installed my module & data package on a fresh 8.5.2 install.
When I search for a word, I can see the containerpage's content in the result.
I will look into the schema.xml, but there is maybe an issue in OpenCms 9 when indexing containerpages.
Siegfried Ehret
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Siegfried Ehret
Envoyé : mardi 7 janvier 2014 14:26
À : The OpenCms mailing list
Objet : Re: [opencms-dev] OpenCms 9 search in container pages content problem
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> [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<mailto: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/20140108/d38a48da/attachment.htm>
More information about the opencms-dev
mailing list