Exclude entity based on a field value

Created on 17 May 2019, over 5 years ago
Updated 28 May 2024, 7 months ago

The module is used to exclude a node (or entity) based on the value of a specific serach_api_exclude_entity field. This feature is useful to mark as a no-index content manually.

However it has some limitations:
-> Entities without bundles cannot be filtered because cannot contain the field.
-> The content have to be excluded manually.

I have another complementary approach to resolve the problem, excluding a entity which a field has an specific value (and it's a first version, I want to make it more flexible).

I though about create a new module (because the behavior is different) but I think that is not the best idea to have several modules to exclude things in search api, and maybe we can merge our code (furthermore, the module is still very light).

can you take a look? If you like the behavior I can refine the feature and improve it (creating, for example, a combo box to select the operator between '<', '>' '=','NOT IN', 'IN', '!=', etc. and maybe create a multivalue form in place of list all fiedls.

✨ Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain estoyausente

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024