Support for Sharding in MassIndexer

Description

When spliting indexes over multiple shards (in my case one per customer) it would be very helpful if I could use the massindexer to reindex only that customer so that for example if one customer has to be restored from a backup I could reindex without taking the other customers offline.

Environment

None

Activity

Show:
Adrian Meredith
October 2, 2013, 10:40 AM

Sounds like these could be the same fix, so test both scenarios

Sanne Grinovero
October 2, 2013, 11:38 AM

Thanks Adrian, excellent ideas.

Yoann Rodière
May 18, 2020, 10:12 AM

Already fixed in Search 6, as the MassIndexer will only purge indexes of entities with the specified tenant ID.
The only exception is if you use dropAndCreateSchemaOnStart, which obviously will drop all data along with the indexes.

I believe it's already fixed in Search 5 too, but I didn't check.

Assignee

Yoann Rodière

Reporter

Adrian Meredith

Labels

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Priority

Major
Configure