<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Patric,</p>
<p>I tried to reproduce your behavior with the demo contents in the
docker image. The blog maps a title and a date to the index:</p>
<p><searchsetting element="Date" searchcontent="false"><br>
<solrfield targetfield="newsdate" sourcefield="*_dt" /><br>
</searchsetting><br>
</p>
<p><searchsetting element="Title" searchcontent="false"><br>
<solrfield targetfield="disptitle" sourcefield="*_s" /><br>
</searchsetting></p>
<p>both mapping produce field {name}_en_{suffix} and
{name}_de_{suffix}. Did you configure all your locales correctly?
Is the sortDate mapping working?</p>
<p><br>
</p>
<p>Best, Daniel.</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 03.01.2017 um 18:23 schrieb Patric
Dosch:<br>
</div>
<blockquote
cite="mid:D5C0B2780837F140B758C49666D8D02C9F40E8DC@VIFRMAIL1.virtual-identity.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Arial",sans-serif;
color:black;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:"Courier New";
mso-fareast-language:DE;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB">Hey list,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB">we updated from OpenCms 9.0.1 to 10.5 and
currently I have a different behaviour when working with
searchsettings in the xsd.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB">Normally we try to store all information we
need for sorting and displaying in the solr index.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB">See example for a date (to sort) or a string
(to display)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB"><</span><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:navy;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">searchsetting
</span></b><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">element</span></b><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:green;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">="SortDate"
</span></b><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">searchcontent</span></b><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:green;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">="true"</span></b><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">></span><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:DE" lang="EN-GB"><br>
<span style="background:#EFEFEF"><</span></span><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:navy;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">solrfield
</span></b><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">targetfield</span></b><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:green;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">="sortDate"
</span></b><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">sourcefield</span></b><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:green;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">="*_tdt"
</span></b><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">/></span><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:DE" lang="EN-GB"><br>
<span style="background:#EFEFEF"></</span></span><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:navy;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">searchsetting</span></b><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;background:#EFEFEF;mso-fareast-language:DE"
lang="EN-GB">></span><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:DE" lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<pre style="background:white"><span style="color:black;background:#EFEFEF" lang="EN-GB"><</span><b><span style="color:navy;background:#EFEFEF" lang="EN-GB">searchsetting </span></b><b><span style="color:blue;background:#EFEFEF" lang="EN-GB">element</span></b><b><span style="color:green;background:#EFEFEF" lang="EN-GB">="Media/Image" </span></b><b><span style="color:blue;background:#EFEFEF" lang="EN-GB">searchcontent</span></b><b><span style="color:green;background:#EFEFEF" lang="EN-GB">="true"</span></b><span style="color:black;background:#EFEFEF" lang="EN-GB">></span><span style="color:black" lang="EN-GB">
<span style="background:#EFEFEF"><</span></span><b><span style="color:navy;background:#EFEFEF" lang="EN-GB">solrfield </span></b><b><span style="color:blue;background:#EFEFEF" lang="EN-GB">targetfield</span></b><b><span style="color:green;background:#EFEFEF" lang="EN-GB">="mediaImage" </span></b><b><span style="color:blue;background:#EFEFEF" lang="EN-GB">sourcefield</span></b><b><span style="color:green;background:#EFEFEF" lang="EN-GB">="*_s"</span></b><span style="color:black;background:#EFEFEF" lang="EN-GB">/></span><span style="color:black" lang="EN-GB">
<span style="background:#EFEFEF"></</span></span><b><span style="color:navy;background:#EFEFEF" lang="EN-GB">searchsetting</span></b><span style="color:black;background:#EFEFEF" lang="EN-GB">><o:p></o:p></span></pre>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB">In OpenCms 9.0.1 I got so many fileds in the
solr document as locale-nodes are in the resource:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><str
name="mediaImage_en_s">/.images/image-en.jpg</str><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><str
name="mediaImage_de_DE_s">/.images/image-de.jpg</str><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB">…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB">but with OpenCms 10.5 in the solr index only
mediaImage_en_s appears.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB">Is someone using these settings? And have the
same problem?
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB">This is currently a big problem, because all of
our searches are broken.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB">Regards, Patric<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"
lang="EN-GB"><o:p> </o:p></span></p>
</div>
<h6><font color="gray" face="Arial,sans serif"><b>Patric Dosch</b><br>
Senior Developer<br>
<br>
<b>Virtual Identity</b> AG<br>
Grünwälderstraße 10-14<br>
79098 Freiburg<br>
<br>
t +49 761 20758-442<br>
f +49 761 20758-01<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:patric.dosch@virtual-identity.com">patric.dosch@virtual-identity.com</a><br>
<a moz-do-not-send="true"
href="http://www.virtual-identity.com">http://www.virtual-identity.com</a><br>
<br>
Freiburg | München | Wien<br>
<br>
<br>
<br>
<br>
<hr>
<br>
Virtual Identity AG<br>
Grünwälderstraße 10-14<br>
79098 Freiburg<br>
Amtsgericht Freiburg, HRB 6218<br>
Vorstand: Ralf Heller<br>
Vorsitzende des Aufsichtsrates: Kirsten Heller<br>
Umsatzsteuer-ID: DE208002218 </font></h6>
<font color="gray" face="Arial,sans serif">
</font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel Seidel
-------------------
Alkacon Software GmbH & Co. KG - The OpenCms Experts
Daniel Seidel
An der Wachsfabrik 13
50996 Koeln, DE
Tel: +49 (0)2236 3826-16
Fax: +49 (0)2236 3826-20
Email: <a class="moz-txt-link-abbreviated" href="mailto:d.seidel@alkacon.com">d.seidel@alkacon.com</a>
<a class="moz-txt-link-freetext" href="http://www.alkacon.com">http://www.alkacon.com</a>
<a class="moz-txt-link-freetext" href="http://www.opencms.org">http://www.opencms.org</a>
Amtsgericht Köln, HRA 32185, USt-IdNr.: DE259882372
Vertreten durch: Alkacon Verwaltungs GmbH
Geschäftsführer: Alexander Kandzior, Amtsgericht Köln, HRB 88218</pre>
</body>
</html>