PostCreateIndexDocumentsEvent misses the index

Created on 23 October 2023, about 1 year ago
Updated 6 February 2024, 10 months ago

Setup

  • Solr version: n/a
  • Drupal Core version: 10.1.5
  • Search API version: 8.x-1.29
  • Search API Solr version: 4.3.0
  • Configured Solr Connector: Standard

Issue

The PostCreateIndexDocumentsEvent is missing some key features that make it difficult to use, especially as a replacement for hook_search_api_solr_documents_alter.

  1. It's missing the index, so you can't target changes to specific indexes.
  2. 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.
πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States neclimdul Houston, TX

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024