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.
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. :)
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.
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](/media/upload/22cc89d1-fcd5-43d8-a00e-0cf88f188e1a/2019-01-14%2011_30_32-Window.png)
As you can see from the image, 3 files are treated as deletions?
Thanks in advance :)
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. :)
is working on a reply...