<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear all,<br>
<br>
We're trying to use the new Solr integration in 8.5.0. Unfortunately some things are not documented or not clearly enough. Maybe someone here might help us:<br>
<br>
1) If we define <solrfield> in XML structured content, when will these changes be visible? After the next index update?<br>
<br>
2) If we remove <solrfields> from XML structured content, they still appear - even after index update or removing the "Index" directory within the WEB-INF/index/..." folder<br>
<br>
3) Is there any way to use "rows" and "start" Solr features from within <cms:contentload>?<br>
<br>
4) We're using nested XML content definitions, how can we add mappings to these fields with <solrfield>? We're using different contents (news, articles, downloads etc.) and need to store options on them - all content types share the same options, so we decided
to move these options to a nested content definition.<br>
<br>
Currently we're using something like this:<br>
<br>
<font face="Courier New"> <!-- Definition of nested content --><br>
<xsd:complexType name="OpenCmsOptionType"><br>
<xsd:sequence><br>
<xsd:element name="Option 1" type="OpenCmsBoolean" /><br>
<xsd:element name="Option 2" type="OpenCmsBoolean" /><br>
<xsd:element name="Option 3" type="OpenCmsBoolean" /><br>
</xsd:sequence><br>
<xsd:attribute name="language" type="OpenCmsLocale" use="optional" /><br>
</xsd:complexType><br>
<br>
<br>
<!-- Definition of a news item --><br>
<xsd:complexType name="OpenCmsNewsItemType"><br>
<xsd:sequence><br>
<xsd:element name="Options" type="OpenCmsOptionType"/><br>
<xsd:element name="Headline" type="OpenCmsString" /><br>
<xsd:element name="Date" type="OpenCmsDateTime" /><br>
<xsd:element name="Copy" type="OpenCmsHtml" /><br>
<xsd:element name="Link" type="OpenCmsVfsFile" /><br>
</xsd:sequence><br>
<xsd:attribute name="language" type="OpenCmsLocale" use="required" /><br>
</xsd:complexType><br>
<xsd:annotation><br>
<xsd:appinfo><br>
<mappings><br>
<mapping element="Date" mapto="attribute:datereleased" /><br>
</mappings><br>
<searchsettings><br>
<searchsetting element="Options" searchcontent="true"><br>
<solrfield sourcefield="*_txt" targetfield="options" copyfields="*"/><br>
</searchsetting><br>
<searchsetting element="Date" searchcontent="true"><br>
<solrfield targetfield="date"><br>
<mapping type="property">Date</mapping><br>
</solrfield><br>
</searchsetting><br>
</searchsettings><br>
</xsd:appinfo><br>
</xsd:annotation></font><br>
<br>
<div>Kind regards,</div>
<div>Carsten</div>
</div>
</body>
</html>