<html><body><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;" data-mce-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 face="Helvetica, Arial, sans-serif" data-mce-style="font-family: Helvetica, Arial, sans-serif;" 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;" data-mce-style="font-family: Helvetica, Arial, sans-serif;">[Quote]</span></div><div><span style="font-family: Helvetica, Arial, sans-serif;" data-mce-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" <d.seidel@alkacon.com><br><b>An: </b>opencms-dev@opencms.org<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 href="http://documentation.opencms.org/opencms-documentation/demos/lists-and-detail-pages-ii/" target="_blank"></a><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>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>