Skip to content

Deleted page not removed from Elasticsearch index when page has content elements #76

Description

@dzschille

I use mksearch with Elasticsearch which works well. But i found that deleted pages don't get removed from the index when the page has a content element (which normally is always the case).

I have verified this error with a fresh TYPO3 9.5.23 installation and version 9.5.16 of dmk/mksearch, both installed via Composer. Steps to reproduce:

  1. I made a page named "A" and a page named "B". Page B has a text/image content element with just a header and a sentence.
  2. I created a mksearch index for Elasticsearch ("test;localhost,9200,;").
  3. Add a indexer config type core : page. Only edited config here is "include.pageTrees.0 = 1".
  4. Index the queue and check that both pages are in the Elasticsearch index. I used Kibana for that.
  5. Delete pages A and B. Reindex the queue again.

Result: In Kibana i still see page B, page A has been removed from the index.

Expected: both pages should have been removed from the index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions