- Issue created by @mstrelan
If you subscribe to a QueryParamsEvent you can check if the index ID matches what you're expecting. Currently this includes the index prefix, so if your prefix is foo_
and your index is bar
the index ID will be foo_bar
. This is mostly fine, except the event subscriber has no way to know what the index prefix is, as that is hidden away in BackendClient::settings
.
This is mitigated in
✨
Add query object to QueryParamsEvent.
Active
as you can use $query->getIndex()->id()
.
Active
3.0
Code