A user who wishes to create an ephemeral bucket with the SDK is not being able to do so as the flag "indexReplica" for the views is always set.
in this kind of bucket, this flag is unsupported.
Although there is a bucket type called Ephemeral, it cannot be used to to missing configurations.
“"error":"replicaindex not supported for ephemeral buckets “
|For Gerrit Dashboard: GOCBC-945|
|131697,2||GOCBC-945: Don't set replicaIndex for ephemeral bucket creation||master||gocb||Status: MERGED||+2||+1|