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

Ramon Gavira ramon.gavira at sagasoluciones.com
Thu Jun 8 10:55:09 CEST 2017


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170608/d3ee6988/attachment.htm>


More information about the opencms-dev mailing list