It all worked with one excluded content type but when more added to exclusion, the new configuration was ignored and only the initially added content type was actually excluded from search results.
Had to wipe index (searchindex_wipe module) and start from scratch to make it work.

Comments

roman_pro created an issue. See original summary.

umed91’s picture

Same happening for me as well. Did you find any solution to this issue??

Fernly’s picture

Priority: Normal » Major

Same issue over here. So far I haven't found a pattern but it's just showing excluded content types.

I changed the priority to major as the very goal of the module is not working.

cherub4’s picture

Same problem here. Excluded content types are showing up in search results. :/

DanielVeza’s picture

Yes I'm seeing the same thing. It appears on first glance that only one CT is properly being excluded. Going to review and attempt a patch today.

DanielVeza’s picture

Status: Active » Closed (won't fix)

This is caused by this bug https://www.drupal.org/project/drupal/issues/326062#comment-4026188. :(

You can use the module mentioned in #1 to fix this. I don't want to add more code to this module if there is already a solution.

Closing for now. If people disagree I can consider other options.