Coucbase partition key vs Primary key

Yes. Secondary Partition index supports composite PARTITION BY HASH(A,B,etc)? Only requirement is it is immutable.

Check example at the end of Queriability section of Example Couchbase GSI Index partitioning | The Couchbase Blog