- Issue created by @neclimdul
- π©πͺGermany mkalkbrenner π©πͺ
That's a bug. The index should present.
- Status changed to Needs review
about 1 year ago 2:23pm 24 October 2023 - last update
about 1 year ago 31 pass -
mkalkbrenner β
committed 2f2ebec2 on 4.x
Issue #3396152 by mkalkbrenner, neclimdul: PostCreateIndexDocumentsEvent...
-
mkalkbrenner β
committed 2f2ebec2 on 4.x
- Status changed to Fixed
about 1 year ago 2:30pm 24 October 2023 - π©πͺGermany mkalkbrenner π©πͺ
Documents and items aren't keyed by the same values making it difficult/impossible to connect them. This probably matches the hook but is frustrating and means you can't use the index on the items to replace the missing index.
Using this event (or previously the corresponding hook), you're close to Solarium than to Search API. So you need to generate the keys like the code does it internally.
And changing the keys would a BC break. - πΊπΈUnited States neclimdul Houston, TX
I brought up the second point because if the missing index was because of some intention for the event to trigger with a document list from multiple indexes there would need to be a way to track it back to the index through the item.
There's probably still some shortcoming in not easily being able to relate items to documents still but it can worked around with the non-bulk sibling event so its probably fine.
Thanks for the quick fix!
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
10 months ago 12:16pm 1 February 2024 Added a updated patch for PreCreateIndexDocumentEvent and PostCreateIndexDocumentEvent Subscriber.
This '3396152.patch' Patch is for 'PreCreateIndexDocumentEvent' and 'PostCreateIndexDocumentEvent' Subscriber. Adding a new '3396152-2.patch' Patch for 'PostCreateIndexDocumentsEvent'. (Ignore '3396152-1.patch' patch)