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

Ramon Gavira ramon.gavira at sagasoluciones.com
Mon Jun 12 11:17:27 CEST 2017


Thanks Daniel.

We are in version 9.5.2 do you think that there will be a new release to 
fix this?? Do you think that it could be possible to apply a patch to 
fix that?

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
>> */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.*
>>
>>
>>
>> _______________________________________________
>> 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
*/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/20170612/557019f6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4428 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170612/557019f6/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 376 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170612/557019f6/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1099 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170612/557019f6/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1180 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170612/557019f6/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1949 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170612/557019f6/attachment-0004.png>
-------------- 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/20170612/557019f6/attachment-0005.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/20170612/557019f6/attachment-0006.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/20170612/557019f6/attachment-0007.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/20170612/557019f6/attachment-0008.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/20170612/557019f6/attachment-0009.png>


More information about the opencms-dev mailing list