[opencms-dev] Weird behavior when indexing resources on Solr

Schliemann, Kai K.Schliemann at comundus.com
Mon Aug 14 08:57:18 CEST 2017


Hi Daniel,
is this bug fixed in OpenCms 10.5.2?
I could not find it in the release notes.
Best regards
Kai

Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Ramon Gavira
Gesendet: Montag, 12. Juni 2017 11:59
An: The OpenCms mailing list <opencms-dev at opencms.org>
Betreff: Re: [opencms-dev] Weird behavior when indexing resources on Solr

Daniel, what do you mean with this:


or importing a single content with exactly the same uuid as the one left over in the index.

How can we do that?

Thanks

El 08/06/2017 a las 12:07, Daniel Seidel escribió:

Hi Ramón,

we experienced that problem as well. It may happen mainly with things you add/delete in lists. For some reason, a content that is deleted in OpenCms does not get deleted in the index in some situation. We fixed the problem, but it's not part of a released version yet. Getting rid of the content that is not in OpenCms, but left in the index, works either by rebuilding the index or importing a single content with exactly the same uuid as the one left over in the index.

You may still wonder why the content appears either not or twice. If you do not have a content with the same uuid or path in OpenCms, the search result will be filtered when permissions are checked.

Best, Daniel.

Am 08.06.2017 um 11:46 schrieb Ramon Gavira:
I forgot to say that this behavior only happen with some resources types and not with all resources.

thanks
El 08/06/2017 a las 10:55, Ramon Gavira escribió:
Weird behavior when indexing resources.

Solr index contains two or more entries of the same resource, the scenario is this:

  *   We have one resource in offline project: /sites/xxx/es/estudios/.content/uahestudios/GR_Unico_G791.html
  *   The query http://www.xxx.es/handleSolrSelect?fq=path:"/sites/xxx/es/estudios/.content/uahestudios/GR_Unico_G791.html" brings back 2 documents (2 ids: a , b)
  *   We delete the resource
  *   Then http://www.xxx.es/handleSolrSelect?fq=path:"/sites/xxx/es/estudios/.content/uahestudios/GR_Unico_G791.html brings back 0 document as expected
  *   Now, I create a new resource with the same path
  *   Then http://www.xxx.es/handleSolrSelect?fq=path:"/sites/xxx/es/estudios/.content/uahestudios/GR_Unico_G791.html brings back 2 documents (2 ids: c, b)

Has anyone experimented something similar or has any clue??
Thanks!
--
Ramón G.




_______________________________________________

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

http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev







--
Ramón Gavira Sáenz
Socio Director de Operaciones y Proyectos

Mov: 687 543 161 | Tel: 954 45 72 75 | fax: 954 45 75 72
[Logotipo de Saga Soluciones]
[QR Code de tarjeta de visita]


www.sagasoluciones.com<http://www.sagasoluciones.com>

www.templatesaga.com<http://www.templatesaga.com/>

<http://www.facebook.com/sagasoluciones>[Facebook]<http://www.facebook.com/sagasoluciones><http://www.facebook.com/sagasoluciones><https://twitter.com/SagaSoluciones>[Twitter]<https://twitter.com/SagaSoluciones><https://twitter.com/SagaSoluciones>


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.

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.

[Medio ambiente]Antes de imprimir este mensaje, asegúrate de que es necesario. El medio ambiente está en nuestras manos

[Medio ambiente]Wasting paper is harmful to the enviroment. Please consider that before printing this message.




_______________________________________________

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

http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev







--

Kind Regards,

Daniel.



-------------------



Daniel Seidel



Alkacon Software GmbH & Co. KG - The OpenCms Experts

http://www.alkacon.com - http://www.opencms.org




_______________________________________________

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

http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev







--
Ramón Gavira Sáenz
Socio Director de Operaciones y Proyectos

Mov: 687 543 161 | Tel: 954 45 72 75 | fax: 954 45 75 72
[Logotipo de                Saga Soluciones]
[QR Code de tarjeta de visita]


www.sagasoluciones.com<http://www.sagasoluciones.com>

www.templatesaga.com<http://www.templatesaga.com/>

<http://www.facebook.com/sagasoluciones>[Facebook]<http://www.facebook.com/sagasoluciones><http://www.facebook.com/sagasoluciones><https://twitter.com/SagaSoluciones>[Twitter]<https://twitter.com/SagaSoluciones><https://twitter.com/SagaSoluciones>


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.

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.

[Medio ambiente]Antes de imprimir este mensaje, asegúrate de que es necesario. El medio ambiente está en nuestras manos

[Medio ambiente]Wasting paper is harmful to the enviroment. Please consider that before printing this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4428 bytes
Desc: image001.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 376 bytes
Desc: image002.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 5979 bytes
Desc: image003.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1099 bytes
Desc: image004.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 1118 bytes
Desc: image005.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1180 bytes
Desc: image006.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 1208 bytes
Desc: image007.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 1949 bytes
Desc: image008.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 5966 bytes
Desc: image009.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.png
Type: image/png
Size: 1125 bytes
Desc: image010.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.png
Type: image/png
Size: 1231 bytes
Desc: image011.png
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170814/974425c8/attachment-0010.png>


More information about the opencms-dev mailing list