Skip to content

ElasticCommitter - Restrict operation based on action verb (add, update, delete) #1070

Description

@stejacob

Hi,

We would like to restrict specific actions for Elastic committers based on the type of operation (add, update, or delete).

We have three committers, and we're aiming to implement the following restrictions:

  1. One committer should be restricted to only handle English documents based on language field containing value en.
  2. Another committer should be restricted to handle only French documents based on language field containing value fr.
  3. The third committer should be restricted to perform delete operations only.

However, we're unsure if this can be achieved with the current configuration. At the moment, using the restrictTo option based on a field causes delete commands to be rejected, as the field doesn't exist in the document being deleted.

If this is not yet supported, would it be possible to open an enhancement request?

Any guidance on how to achieve this setup would be greatly appreciated.

Thank you.

Stephen Jacob

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions