pegasus
Well-known member
Right, but as mentioned, the IDs from that handler potentially point to multiple content-types. If you filter already loaded wiki entities on that ID, you might actually be filtering an entity from the wrong content type. The entities returned by getContent are the real content entities which have a different content type and entity IDs, than the IDs in the index which are aggregate pointer IDs.
If your description is accurate though, this might be safe if the wiki search_handler_class is actually associated with an entity that points to the aggregate table rather than its current association of no particular entity, and if the filtering of IDs does so based on the search index contents prior to getContent and not based on any resulting entities from getContent.
If your description is accurate though, this might be safe if the wiki search_handler_class is actually associated with an entity that points to the aggregate table rather than its current association of no particular entity, and if the filtering of IDs does so based on the search index contents prior to getContent and not based on any resulting entities from getContent.
Last edited: