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

Ramon Gavira ramon.gavira at sagasoluciones.com
Thu Jun 8 11:46:50 CEST 2017


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
*/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/>

Facebook <http://www.facebook.com/sagasoluciones> Twitter 
<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/20170608/927ba7fe/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo_saga.png
Type: image/png
Size: 4428 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170608/927ba7fe/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ramon.png
Type: image/png
Size: 376 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170608/927ba7fe/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook.png
Type: image/png
Size: 1099 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170608/927ba7fe/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter.png
Type: image/png
Size: 1180 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170608/927ba7fe/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: environment-icon.png
Type: image/png
Size: 1949 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170608/927ba7fe/attachment-0004.png>


More information about the opencms-dev mailing list