[opencms-dev] Solr indexing of custom content type

Daniel Seidel d.seidel at alkacon.com
Tue Nov 20 09:58:39 CET 2018


Hi Thorsten,

for debugging, I would make the custom-content findable by itself 
(searchsettings containerpageonly="false") than you only need to touch 
one of these contents (maybe with rewrite content, I always forget about 
that) and then use the solr handler to see how it is indexed. Moreover, 
check, where the searchsettings are done. I think in 10.5 it's necessary 
to have them in the main XSD.

Best, Daniel.

Am 20.11.18 um 09:49 schrieb Thorsten Duhn:
>
> Hello,
>
> sorry forgot to mention (so many different places involved), of course 
> that is/always was set true.
>
> Regards,
>
> Thorsten
>
> -- 
>
> B.Sc. Thorsten Duhn
>
> regio gmbh - Institut für Regionalentwicklung und Informationssysteme
>
> Uhlhornsweg 99a, D-26129 Oldenburg
>
> Fon  +49 (0)441 798-2818
>
> Fax +49 (0)441 798-3002
>
> Mail duhn at regio-gmbh.de
>
> Web http://www.regio-gmbh.de
>
> Geschäftsführer: Bernd Kramer, Dr. Uwe Kröcher
>
> Amtsgericht Oldenburg (HRB 3903), USt-IdNr. DE187010339
>
> *Von:*opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] *Im Auftrag von *Daniel Seidel
> *Gesendet:* Dienstag, 20. November 2018 09:47
> *An:* opencms-dev at opencms.org
> *Betreff:* Re: [opencms-dev] Solr indexing of custom content type
>
> Hi Thorsten,
>
> you should look at the formatter configuration of your content. 
> There's a boolean option, you have to check if you want to index your 
> content with the page - i think it's called "Search content".
>
> Best, Daniel.
>
> Am 20.11.18 um 09:27 schrieb Thorsten Duhn:
>
>     Hello,
>
>     I have a "custom-content" resource type, a bit like a evolution of
>     what was "Flexible" in OC8/OC9, with nested choice of HTML, code,
>     image and alike. Also I have a “custom-news” type with no nested
>     content. Having put Lorem ipsum content on my site, a container
>     page with “custom-content” and one item for “custom-news”
>     list/detail. But when I try to get <cms:search> running I only
>     find “custom-news” detail pages, not container pages having
>     “custom-content”.
>
>     /handleSolrSelect?q=ipsum&fq=type:custom-*+OR+type:containerpage&fq=parent-folders:%22/sites/default/%22
>
>     I don’t know where else to look at. All schemas have
>     <searchsettings> (for all elements, “searchcontent” true and
>     false), mainly as I see it in OC9 “flexible.xsd”. I reindexed on-
>     and offline indexes several times, modified content elements and
>     saved, restarted Tomcat, but always find only one of two elements.
>
>     How can I find content from cointainerpages? Where can I find
>     indications of what goes wrong?
>
>     System is OC 10.5.4, content is German (and “fq” of above request
>     contains “con_locales:de”).
>
>     Regards,
>
>     Thorsten
>
>     -- 
>
>     B.Sc. Thorsten Duhn
>
>     regio gmbh - Institut für Regionalentwicklung und Informationssysteme
>
>     Uhlhornsweg 99a, D-26129 Oldenburg
>
>     Fon  +49 (0)441 798-2818
>
>     Fax +49 (0)441 798-3002
>
>     Mail duhn at regio-gmbh.de <mailto:duhn at regio-gmbh.de>
>
>     Web http://www.regio-gmbh.de <http://www.regio-gmbh.de>
>
>     Geschäftsführer: Bernd Kramer, Dr. Uwe Kröcher
>
>     Amtsgericht Oldenburg (HRB 3903), USt-IdNr. DE187010339
>
>
>
>     _______________________________________________
>
>     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
>
>     http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
> -- 
> Kind Regards,
> Daniel.
>   
> -------------------
> Daniel Seidel
> Alkacon Software GmbH & Co. KG - The OpenCms Experts
> http://www.alkacon.com  -http://www.opencms.org      
>
> _______________________________________________
> 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
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
-- 
Kind Regards,
Daniel.
  
-------------------

Daniel Seidel

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://webmail.opencms.org/pipermail/opencms-dev/attachments/20181120/3e32bb49/attachment.htm>


More information about the opencms-dev mailing list