<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I forgot to say that this behavior only happen with some resources
types and not with all resources. <br>
<br>
thanks<br>
<br>
<div class="moz-cite-prefix">El 08/06/2017 a las 10:55, Ramon Gavira
escribió:<br>
</div>
<blockquote cite="mid:593910ED.9020001@sagasoluciones.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Weird behavior when indexing resources.<br>
<br>
Solr index contains two or more entries of the same resource, the
scenario is this:<br>
<br>
<ul>
<li>We have one resource in offline project: <b>/sites/xxx/es/estudios/.content/uahestudios/GR_Unico_G791.html</b></li>
<li>The query <b><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.xxx.es/handleSolrSelect?fq=path">http://www.xxx.es/handleSolrSelect?fq=path</a>:"/sites/xxx/es/estudios/.content/uahestudios/GR_Unico_G791.html"
</b>brings back 2 documents (2 ids: a , b)<br>
</li>
<li>We delete the resource<br>
</li>
<li>Then <b><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.xxx.es/handleSolrSelect?fq=path">http://www.xxx.es/handleSolrSelect?fq=path</a>:"/sites/xxx/es/estudios/.content/uahestudios/GR_Unico_G791.html
</b>brings back 0 document as expected</li>
<li>Now, I create a new resource with the same path</li>
<li>Then <b><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.xxx.es/handleSolrSelect?fq=path">http://www.xxx.es/handleSolrSelect?fq=path</a>:"/sites/xxx/es/estudios/.content/uahestudios/GR_Unico_G791.html
</b>brings back 2 documents (2 ids: c, b)</li>
</ul>
<p><br>
Has anyone experimented something similar or has any clue??<br>
</p>
Thanks!<br>
<div class="moz-signature">-- <br>
Ramón G.<br>
</div>
<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>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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:part4.08090504.07000108@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:part5.00040704.00000702@sagasoluciones.com"
alt="QR Code de tarjeta de visita" align="left"
width="90"></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:part8.08060800.08040007@sagasoluciones.com"
href="http://www.sagasoluciones.com/opencms803/export/sites/saga/.content/galerias/imagenes-redes/facebook.png"
alt="Facebook" align="left" width="24"> </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:part10.03020406.03090307@sagasoluciones.com"
href="http://www.sagasoluciones.com/opencms803/export/sites/saga/.content/galerias/imagenes-redes/twitter.png"
alt="Twitter" align="left" width="24"> </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:part12.08020705.09080207@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:part12.08020705.09080207@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>