Are secondary indexes per set or per namespace?

secondary
index

#1

Are secondary indexes per set or per namespace? Do you have a documentation explaining more about secondary indexes?


#2

per set.

http://www.aerospike.com/docs/guide/query.html

Set-name is an optional parameter, but when a set-name is not provided, the index will include records with a null set name - not all sets in the namespace.

http://www.aerospike.com/docs/architecture/secondary-index.html