Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleted Web Pages are not removed from the search index #87

Open
jakim-ppb opened this issue Dec 31, 2024 · 1 comment
Open

Deleted Web Pages are not removed from the search index #87

jakim-ppb opened this issue Dec 31, 2024 · 1 comment
Assignees

Comments

@jakim-ppb
Copy link

jakim-ppb commented Dec 31, 2024

Describe the bug
When a Content Editor deletes a web page, that web page is not removed from the search index.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any published page
  2. Select a page to delete by clicking on the three dots next to the page name
  3. Select Delete
  4. Confirm delete
  5. Perform a content search
  6. Verify that the index count has not changed / see the deleted page in the search results

Expected behavior
Deleted pages should be removed from the index.

Screenshots
image

Library Version
Kentico.Xperience.Lucene 11.0.0

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
Reviewing the code for the HandleEvent method, it calls the FindItemsToReindex to get a list of items to re-index. However, since the page already been deleted, the toReindex variable will not contain the item and will not match on the ItemGuid condition in the screen shot above.

@liparova
Copy link
Collaborator

liparova commented Jan 6, 2025

Thank you for bringing this to our attention. We will investigate and keep you informed of our progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants