@ramonski we’ve used your PR sample code from here 1666 PR
it doesn’t work for us because:
def get_searchable_text_tokens(instance, catalog_name,
exclude_field_names=None,
include_field_names=None):
...
for name, adapter in getAdapters((instance, catalog), IListingSearchableTextProvider)
...
returns empty list of adapters. Initially, we thought that something was wrong with our adapter registration routine and it is out of visibility scope because our adapter __init__ never called.
But we found that problem with catalog variable if remove it __init__ method of our custom adapter fires and the adapter works fine.
We cannot debug why it fails WITH catalog variable because there are no exceptions raised. Or exception raised but intercepted somewhere silently
maybe you can advise how to work it around?
thanks!