# `Electric.Shapes.Filter.Index`
[🔗](https://github.com/electric-sql/electric/tree/%40core/sync-service%401.6.2/packages/sync-service/lib/electric/shapes/filter/index.ex#L1)

Efficiently finds shapes that are affected by a change, specifically for a particular operation in where clause.

Each type of operation that has been optimised such as `=` or `@>` has its own index module
(EqualityIndex, InclusionIndex) that stores data in ETS tables.

This module dispatches to the appropriate index implementation based on the operation type.

# `add_shape`

# `affected_shapes`

# `all_shape_ids`

# `remove_shape`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
