code: func NewAllocateStalePrimaryAllocationCommand(index string, shardId int, node string, acceptDataLoss bool) *AllocateStalePrimaryAllocationCommand {
  	return &AllocateStalePrimaryAllocationCommand{
  		index:          index,
  		shardId:        shardId,
  		node:           node,
  		acceptDataLoss: acceptDataLoss,
  	}
  }
docs: // NewAllocateStalePrimaryAllocationCommand creates a new
  // AllocateStalePrimaryAllocationCommand.