- Issue created by @joachim
There is currently no API for the tracker for working with search item IDs where the caller does not know the exact IDs but only a pattern.
The use case is the Recurring Date Field integration module ( https://www.drupal.org/project/date_recur_search_api → ), which creates search items whose IDs are based on dynamic date occurrences (see https://git.drupalcode.org/project/date_recur_search_api/-/blob/1.0.x/sr...).
To update or delete items, the code would either need SearchAPI to provide one of:
- an API to update and delete items based on a regex pattern, such as 'ENTITY_ID:LANGCODE:.*'
- an API to get the list of ALL tracked IDs, so the caller can then do its own regex search on the list of IDs.
The code currently has to directly query the {search_api_item} table, which is not ideal: https://git.drupalcode.org/project/date_recur_search_api/-/blob/1.0.x/sr...
Active
1.0
Framework