Each collection needs it own indexes (i.e per collection). Queries also per collection , If need more than one collection you need to use JOIN or UNION queries.
In 7.0 if you just give bucket name it goes into default scope (_default), default collection (_default) bucket._default._default
@vsr1
Web site says “Global secondary indexes need to be created for each collection”
Isn’t only primary index per collection is enough?Or does it mean still the primary index is bucket wide and GSIs needed to be created per collection in prodution?
@iisuru , It exist. If you need primary index, You need to create it for each collection.
Any operations DDL, DML,DCL on bucket will be done on bucket._default._default collection. (backward compatibility)
Any other collections you need to with collection path (buckect.scope.collection)