SDKits / ExamineX

Issue tracker for ExamineX
https://examinex.online
5 stars 0 forks source link

Trashed nodes remain in the DeliveryApiContentIndex index (ElasticSearch) #106

Closed mcl-sz closed 2 months ago

mcl-sz commented 2 months ago

Describe the bug When a node is trashed, it remains in the DeliveryApiContentIndex.

License ID Your ExamineX license Id (found in your license file) if you are running a licensed version.

To Reproduce Steps to reproduce the behavior: Install for example "Clean"-startkit from Paul Seal (https://marketplace.umbraco.com/package/clean). Rebuild the indexes. Delete the "About" node to the recyclebin. Search for "About" in the DeliveryApiContentIndex index.

Expected behavior The "About"-node should be deleted from the DeliveryApiContentIndex.

Versions

Shazwazza commented 2 months ago

Duplicate of #105

Shazwazza commented 2 months ago

Reopened - @mcl-sz This looks to be an Umbraco issue. If you disable the DeliveryApiContentIndex for ExamineX and then just rely on the Lucene based index, you'll see that the items that are trashed also still remain in the Lucene index.

mcl-sz commented 2 months ago

@Shazwazza i can't reproduce in Lucene. If i trash a node, it's removed from de DeliveryApiContentIndex in Lucene.

Before delete: afbeelding

After trashing: afbeelding

I preformed the action in an Umbraco installation without having ExamineX installed.

Shazwazza commented 2 months ago

Ah, must have been a bug in an earlier umbraco 13.x version that I was using. I upgraded to your version and it works with the Lucene index. It was due to this change https://github.com/umbraco/Umbraco-CMS/pull/15848

Which I will need to port to ExamineX too. I'll get another version published shortly.

Shazwazza commented 2 months ago

@mcl-sz Fixed in https://github.com/SDKits/ExamineX/releases/tag/elastic-v3.0.5