Recreating Shard failures


when using the elasticsearch Java client, is there any easy way to recreate shard failures. Where either the primary or both primary and replicas fail to respond.

I'm trying to validate a test where I need to check that SearchResponse::getFailedShards is populated.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.