Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Matt Barlow 129 posts 530 karma points
    Jan 14, 2019 @ 11:37
    Matt Barlow

    Deletions being set on Examine SimpleDataIndexer, why is this?

    We have a site (Umbraco 7.11) which has an external data source, indexed as type SimpleDataIndexer, with a basic configuration set in the examine config file.

      <add name="External_Data_Indexer" type="Examine.LuceneEngine.Providers.SimpleDataIndexer, Examine"
           dataService="Cms.Web.Sites.Indexers.ExternalDataIndexer, Cms.Web" indexTypes="ExternalContentType" />

    Some of the content being indexed is being treated as it's "deleted" therefore it's not appearing in our search results. enter image description here

    As you can see from the image, 3 files are treated as deletions?

    Thanks in advance :)

  • Matt Barlow 129 posts 530 karma points
    Jan 16, 2019 @ 23:00
    Matt Barlow

    Got to the bottom of this, I was generating a SimpleDataSet from the content of various API's, the nodeID attributed to the data was generated in a way that wasn't unique between retrieved datasets.

    The data was aggregated then added to a SimpleDataSet, but the data contained duplicate nodeIDs for content. So as the SDS was build it replaced the content of the earlier duplicate with the latter, and marked the original as a deletion.

    Hence deleted content in the index.

    Hope that helps anyone in the future looking at this. :)

Please Sign in or register to post replies

Write your reply to: