<html><body><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000"><div>Thank you.</div><div><br></div><div>Writing new detail pages seems legit.</div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Von: </b>"Daniel Seidel" <d.seidel@alkacon.com><br><b>An: </b>opencms-dev@opencms.org<br><b>Gesendet: </b>Dienstag, 10. Januar 2017 13:14:37<br><b>Betreff: </b>Re: [opencms-dev] Search list elements and display containerpage<br><div><br></div>
<p>Hi Martin,</p>
<p>now I understand your problem. The option "addContentInfo" is not
what you expect it to be. It only influences the publishing when
choosing "This page" for publishing. Then changed list entries
will appear in the listed resources and hence can be published in
the context of publishing the page. The option has no influence on
how things are indexed. The list items are not indexed for the
page anyway. <br>
</p>
<p>Typically the elements in the lists have detail pages. If so, you
can configure your full-text search such that the elements itself
(the xml contents) are found, and then you can link to the detail
page.<br>
</p>
<p>Best, Daniel.<br>
</p>
<div class="moz-cite-prefix">Am 10.01.2017 um 12:40 schrieb Martin
Kucharczyk:<br>
</div>
<blockquote cite="mid:737032311.350625.1484048405571.JavaMail.zimbra@silpion.de">
<div style="font-family: arial,helvetica,sans-serif; font-size:
12pt; color: #000000">
<div>Thanks Daniel.</div>
<div><br>
</div>
<div>I want to implement a full text search (i.e. "q=xyz+abc" or
"q=xyz+abc&fq=type:containerpage"). </div>
<div>Adding <span style="font-family: Helvetica, Arial,
sans-serif;">"fq=type:containerpage" is ok, but then I still
won't get a result containing my list-element, because the
list element is actually not placed on the containerpage.</span></div>
<div><span style="font-family: Helvetica, Arial, sans-serif;">The
list-element is loaded by cms:search.</span></div>
<div><br>
</div>
<div><span style="font-family: Helvetica, Arial, sans-serif;">[Quote]</span></div>
<div><span style="font-family: Helvetica, Arial, sans-serif;">Besides
handing over a configuration to <cms:search>, we
specify addContentInfo. If set to true, the content that is
collected in the list is treated as part of the page on
publish. Hence, when you publish the page and an element in
the list - even if on a page of the list not visible at the
moment - is published as related resource of the page well.</span></div>
<div>[/Quote]</div>
<div><br>
</div>
<div>From the description "addContentInfo" is what I need, but
it is not working.</div>
<div>Maybe I am missing something here or do I just
misunderstand, what "addContentInfo" is used for?</div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div><br>
</div>
<hr id="zwchr">
<div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Von:
</b>"Daniel Seidel" <a class="moz-txt-link-rfc2396E" href="mailto:d.seidel@alkacon.com" target="_blank"><d.seidel@alkacon.com></a><br>
<b>An: </b><a class="moz-txt-link-abbreviated" href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a><br>
<b>Gesendet: </b>Dienstag, 10. Januar 2017 12:23:19<br>
<b>Betreff: </b>Re: [opencms-dev] Search list elements and
display containerpage<br>
<div><br>
</div>
<p>Hi Martin,</p>
<p>I do not fully understand what you are doing now, but maybe
you are searching not for the things you want. You should
use "fq=type:containerpage" in your query to search for
container pages only. If you need more advice, please send
your query.</p>
<p><br>
</p>
<p>Best, Daniel.</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 10.01.2017 um 12:05 schrieb
Martin Kucharczyk:<br>
</div>
<blockquote cite="mid:724976713.347077.1484046339587.JavaMail.zimbra@silpion.de">
<div style="font-family: arial,helvetica,sans-serif;
font-size: 12pt; color: #000000">
<div>Hello!</div>
<div><br>
</div>
<div>I have the following problem using OpenCms 10.0.1</div>
<div><br>
</div>
<div>I have implemented several lists using this
documentation: <a class="moz-txt-link-freetext" href="http://documentation.opencms.org/opencms-documentation/demos/lists-and-detail-pages-ii/" target="_blank">http://documentation.opencms.org/opencms-documentation/demos/lists-and-detail-pages-ii/</a></div>
<div>Now I also have a search, that should only display
containerpages.</div>
<div><br>
</div>
<div>I have added addContentInfo="true" to the cms:search
tag.</div>
<div>When executing my search (or if I am using
handleSolrSelect) the result only contains the
list-elements but not the containerpage or a link to the
containerpage.</div>
<div><br>
</div>
<div>I have have rebuild my indices, added new lists and
elements and published all.</div>
<div>Still no result.</div>
<div>What am I missing here?</div>
<div>Thanks in advance!</div>
<div><br>
</div>
<div>Best regards</div>
<div>Martin</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature">--
Daniel Seidel
Alkacon Software GmbH & Co. KG - The OpenCms Experts
<a class="moz-txt-link-freetext" href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> - <a class="moz-txt-link-freetext" href="http://www.opencms.org" target="_blank">http://www.opencms.org</a>
</pre>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list,
please visit<br>
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<div><br>
</div>
<br>
<div><br>
</div>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature">--
Kind Regards,
Daniel.
-------------------
Daniel Seidel
Alkacon Software GmbH & Co. KG - The OpenCms Experts
<a class="moz-txt-link-freetext" href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> - <a class="moz-txt-link-freetext" href="http://www.opencms.org" target="_blank">http://www.opencms.org</a> </pre>
<br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br>http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev<br><div><br></div><br><div><br></div></div><div><br></div></div></body></html>