<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
We found solution, the problem is in Calss
CmsSolrDocumentXmlContent.java <br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/rgaviras/opencms-core/commit/d8c51d788fd7d4acf595eec0fe503e81041ac970">https://github.com/rgaviras/opencms-core/commit/d8c51d788fd7d4acf595eec0fe503e81041ac970</a>
<br>
<br>
Hope this help someone!!<br>
<br>
<div class="moz-cite-prefix">El 13/03/2014 11:24, Ramon Gavira Sáenz
escribió:<br>
</div>
<blockquote cite="mid:53218779.5070207@sagasoluciones.com"
type="cite">Hello,
<br>
<br>
We are using the standard configuration of fields an solr, we've
found the same problem with version 8.5 and 9.
<br>
<br>
This is an example of the issue with a fresh installation of
version 8.5. using this simple query
<a class="moz-txt-link-freetext" href="http://localhost:8080/opencms85/opencms/handleSolrSelect?fq=type:containerpage&rows=1">http://localhost:8080/opencms85/opencms/handleSolrSelect?fq=type:containerpage&rows=1</a><br>
<br>
We don't have problems getting the resources, but the proble
handles with the excerpt nodes (actually it happens with content
nodes also). the resource has localized content in "en" and "de"
In the response-doc we get two nodes:
<br>
<br>
<str name="en_excerpt">
<br>
<str name="de_excerpt">
<br>
<br>
the firs one has a piece of text which corresponds with english
content
<br>
the problem is that the second one contains the same piece of
text of the english node plus the german one. We need to show the
excerpt Localized but we can't because the text are mixed...
<br>
<br>
This happens also with the content nodes: content_en and
content_de
<br>
<br>
Does anybody has the same problem?, How did you solve it?, Is it a
bug o a miisconfiguration issue?
<br>
<br>
=======================
<br>
<a class="moz-txt-link-freetext" href="http://localhost:8080/opencms85/opencms/handleSolrSelect?fq=type:containerpage&rows=1">http://localhost:8080/opencms85/opencms/handleSolrSelect?fq=type:containerpage&rows=1</a>
<br>
The solr response looks like, you cant try it in any installation:
<br>
<br>
<?xml version="1.0" encoding="UTF-8"?>
<br>
<response>
<br>
<lst name="responseHeader">
<br>
<int name="status">0</int>
<br>
<int name="QTime">2</int>
<br>
<lst name="params">
<br>
<str name="q">*:*</str>
<br>
<str name="fl">*,score</str>
<br>
<str name="qt">edismax</str>
<br>
<int name="rows">1</int>
<br>
<arr name="fq">
<br>
<str>con_locales:en</str>
<br>
<str>parent-folders:/sites/default/</str>
<br>
<str>type:containerpage</str>
<br>
</arr>
<br>
<long name="start">0</long>
<br>
</lst>
<br>
</lst>
<br>
<result name="response" numFound="49" start="0">
<br>
<doc>
<br>
<str
name="id">14c92a4a-c996-11e0-b07b-a97c08d979d8</str>
<br>
<str
name="contentblob">[B:[B@e301173</str>
<br>
<str
name="path">/sites/default/flower-de/blumen-abonnements/index.html
<br>
</str>
<br>
<str name="type">containerpage</str>
<br>
<str name="suffix">.html</str>
<br>
<int name="size">3448</int>
<br>
<date
name="created">2012-08-18T12:32:05Z</date>
<br>
<date
name="lastmodified">2012-09-17T12:52:46Z</date>
<br>
<date
name="contentdate">2014-03-12T17:21:51.619Z</date>
<br>
<date
name="relased">1970-01-01T00:00:00Z</date>
<br>
<date
name="expired">292278994-08-17T07:12:55.807Z</date>
<br>
<arr name="res_locales">
<br>
<str>en</str>
<br>
<str>de</str>
<br>
</arr>
<br>
<arr name="con_locales">
<br>
<str>en</str>
<br>
<str>de</str>
<br>
</arr>
<br>
<str
name="template_prop">/system/modules/com.alkacon.opencms.v8.template3/templates/main.jsp<br>
</str>
<br>
<str
name="default-file_prop">##navigation_level_folder##</str>
<br>
<str name="locale_prop">de</str>
<br>
<str name="NavPos_prop">41.0</str>
<br>
<str name="NavText_prop">Blumen
Abonnements</str>
<br>
<str name="Title_prop">Blumen
Abonnements</str>
<br>
<str name="style.columns_prop">2</str>
<br>
<arr name="content_en">
<br>
<str>The OpenCms 8.5 content subscription
engine
<br>
OpenCms 8.5 allows users to subscribe to
content pages or binary
<br>
documents. A user can see a list of his
subscriptions and receive
<br>
notifications in case one of his subscribed
pages has been updated
<br>
or deleted. It's also possible to "force"
subscriptions for a user
<br>
or group of users.
<br>
</str>
<br>
</arr>
<br>
<arr name="spell">
<br>
<str>The OpenCms 8.5 content subscription
engine
<br>
OpenCms 8.5 allows users to subscribe to
content pages or binary
<br>
documents. A user can see a list of his
subscriptions and receive
<br>
notifications in case one of his subscribed
pages has been updated
<br>
or deleted. It's also possible to "force"
subscriptions for a user
<br>
or group of users.
<br>
</str>
<br>
</arr>
<br>
<str name="en_excerpt">The OpenCms 8.5 content
subscription engine
<br>
OpenCms 8.5 allows users to subscribe to content
pages or binary documents.
<br>
A user can see a list of his subscriptions and
receive notifications
<br>
in case one of his subscribed pages has been
updated or deleted.
<br>
It's also possible to "force" subscriptions for a
user or group of
<br>
users.
<br>
</str>
<br>
<arr name="content_de">
<br>
<str>The OpenCms 8.5 content subscription
engine
<br>
OpenCms 8.5 allows users to subscribe to
content pages or binary
<br>
documents. A user can see a list of his
subscriptions and receive
<br>
notifications in case one of his subscribed
pages has been updated
<br>
or deleted. It's also possible to "force"
subscriptions for a user
<br>
or group of users.
<br>
Die Abonnement-Funktion von OpenCms 8.5
<br>
OpenCms 8.5 ermöglicht es Benutzern, Seiten
oder Dokumente im System zu
<br>
abonnieren. Ein Benutzer kann sich eine Liste
seiner Abonnements
<br>
anzeigen lassen, mit Hinweisen falls eine
seiner abonnierten Seiten
<br>
geändert oder gelöscht wurde. Es ist auch
möglich das Abonnement
<br>
bestimmter Inhalte für einen Benutzer oder
eine Gruppe zu
<br>
erzwingen.
<br>
</str>
<br>
</arr>
<br>
<str name="de_excerpt">The OpenCms 8.5 content
subscription engine
<br>
OpenCms 8.5 allows users to subscribe to content
pages or binary documents.
<br>
A user can see a list of his subscriptions and
receive notifications
<br>
in case one of his subscribed pages has been
updated or deleted.
<br>
It's also possible to "force" subscriptions for a
user or group of
<br>
users.
<br>
Die Abonnement-Funktion von OpenCms 8.5
<br>
OpenCms 8.5 ermöglicht es Benutzern, Seiten oder
Dokumente im System zu
<br>
abonnieren. Ein Benutzer kann sich eine Liste
seiner Abonnements
<br>
anzeigen lassen, mit Hinweisen falls eine seiner
abonnierten Seiten
<br>
geändert oder gelöscht wurde. Es ist auch möglich
das Abonnement
<br>
bestimmter Inhalte für einen Benutzer oder eine
Gruppe zu erzwingen.
<br>
</str>
<br>
<date
name="timestamp">2014-03-12T18:16:01.291Z</date>
<br>
<float name="score">1.0</float>
<br>
<str
name="link">/opencms85/opencms/flower-de/blumen-abonnements/index.html<br>
</str>
<br>
</doc>
<br>
</result>
<br>
</response>
<br>
<br>
<br>
<br>
<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">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<title>Ramón Gavira</title>
<div>
<div style="width: 98%; padding: 1%; border-top: 3px solid
rgb(244, 244, 244); margin: 15px 0px 0px; background: none
repeat scroll 0% 0% rgb(248, 248, 248); color: rgb(85, 85,
85);">
<span style="font-size: larger;"><strong><em>Ramón Gavira
Sáenz</em></strong></span><br>
<em>Socio Director de Operaciones y Proyectos</em>
</div>
<div style="width: 98%;padding: 5px 1%; background-color:
rgb(238, 238, 238); border-bottom: 3px solid rgb(204, 204,
204); border-top: 3px solid rgb(204, 204, 204);">
<p style="margin: 0; color: rgb(85, 85, 85); font-style:
italic;"><span>Mov: 687 543 161 | Tel: 954 45 72 75 |</span><span>
fax: 954 45 75 72 </span></p>
</div>
<div style="width: 98%; padding: 1%; border-top: 3px solid
rgb(244, 244, 244); border-bottom: 3px solid rgb(244, 244,
244); margin: 0px 0px 15px; display: inline-block; background:
none repeat scroll 0% 0% rgb(252, 252, 252);">
<div style="padding: 10px 0;"> <img style="" alt="Logotipo de
Saga Soluciones"
src="cid:part1.03050708.09010009@sagasoluciones.com"
href="http://www.sagasoluciones.com/opencms803/export/sites/saga/.content/galerias/imagenes-estructura/logo_saga.png"
width="180"> </div>
<div style="display: inline-block;height: 110px; float: left;
padding: 3px 0px 5px 10px; margin-right: 10px; border-left:
5px solid rgb(10, 110, 175);"> </div>
<table>
<tbody>
<tr>
<td style="padding: 10px; display: inline-block;"><img
style="border: 1px solid rgb(221, 221, 221);"
src="cid:part2.08050807.01010509@sagasoluciones.com"
alt="QR Code de tarjeta de visita" width="90"
align="left"></td>
<td style="font-family: Tahoma;font-size: 10pt;color:
#0A6AAA;">
<p style="margin: 0 0 3px 0;"><a title="Ir a nuestra
web" style="color: #0A6AAA !important; cursor:
pointer; text-decoration: none;"
href="http://www.sagasoluciones.com">www.sagasoluciones.com</a></p>
<p style="margin: 0 0 10px 0;"><a title="Ir a la web
de Template Saga" style="color: #0A6AAA
!important; cursor: pointer; text-decoration:
none;" href="http://www.templatesaga.com/">www.templatesaga.com</a></p>
<p style="margin: 0 0 10px 0;"><a title="Saga
Soluciones en Facebook" style="cursor:
pointer;text-decoration: none;"
href="http://www.facebook.com/sagasoluciones"> <img
style="cursor: pointer; margin-right: 7px;
border: 0px;"
src="cid:part5.00060602.04000204@sagasoluciones.com"
href="http://www.sagasoluciones.com/opencms803/export/sites/saga/.content/galerias/imagenes-redes/facebook.png"
alt="Facebook" width="24" align="left"> </a> <a
title="Saga Soluciones en Twitter" style="cursor:
pointer;text-decoration: none;"
href="https://twitter.com/SagaSoluciones"> <img
style="margin-right: 10px; cursor: pointer;
border: 0px;"
src="cid:part7.06010001.08000808@sagasoluciones.com"
href="http://www.sagasoluciones.com/opencms803/export/sites/saga/.content/galerias/imagenes-redes/twitter.png"
alt="Twitter" width="24" align="left"> </a> </p>
</td>
</tr>
</tbody>
</table>
</div>
<p>
<span style="font-family: Verdana,'sans-serif'; font-size:
7pt; color: rgb(102, 102, 102);">Este correo electrónico y,
en su caso, cualquier fichero anexo al mismo, contiene
información de carácter confidencial exclusivamente dirigida
a su destinatario o destinatarios. Queda prohibida su
divulgación, copia o distribución a terceros sin la previa
autorización escrita de SaGa Consulting. En el caso de haber
recibido este correo electrónico por error, se ruega
notifóquese inmediatamente esta circunstancia mediante
reenvóo a la dirección electrónica del remitente.</span>
</p>
<p>
<span style="font-family: Verdana,'sans-serif'; font-size:
7pt; color: rgb(102, 102, 102);">The information in this
e-mail and in any attachments is confidential and solely for
the attention and use of the named addressee(s). You are
hereby notified that any dissemination, distribution or copy
of this communication is prohibited without the prior
written consent of SaGa Consulting. If you have received
this communication in error, please, notify the sender by
reply e-mail.</span>
</p>
<p>
<img style="margin-right: 6px;"
src="cid:part9.04060000.07020503@sagasoluciones.com"
href="http://saga01.furanet.com:8080/opencms803/opencms/.content/galerias/firmas-mail/environment-icon.png"
alt="Medio ambiente" align="left">
<strong style="display: inline-block; margin-top: 5px;"><span
style="color: rgb(0, 128, 0); font-family:
'Verdana',serif; font-size: 6.5pt; display: inline-block;">Antes
de imprimir este mensaje, asegúrate de que es necesario.
El medio ambiente está en nuestras manos</span></strong>
</p>
<p>
<img style="margin-right: 6px;"
src="cid:part9.04060000.07020503@sagasoluciones.com"
href="http://saga01.furanet.com:8080/opencms803/opencms/.content/galerias/firmas-mail/environment-icon.png"
alt="Medio ambiente" align="left">
<strong style="margin-top: 6px; display: inline-block;"><span
style="color:rgb(0,128,0);font-family:'Verdana',
serif;font-size:6.5pt;">Wasting paper is harmful to the
enviroment. Please consider that before printing this
message.</span></strong>
</p>
</div>
</div>
</body>
</html>