AerospikeClient CreateIndex Method (Policy, String, String, String, String, IndexType, IndexCollectionType)Aerospike
Create complex secondary index on bins containing collections. This asynchronous server call will return before command is complete. The user can optionally wait for command completion by using the returned IndexTask instance.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.5.0.0 (3.5.3)
Syntax

Parameters

policy
Type: Aerospike.Client Policy
generic configuration parameters, pass in null for defaults
ns
Type: System String
namespace - equivalent to database name
setName
Type: System String
optional set name - equivalent to database table
indexName
Type: System String
name of secondary index
binName
Type: System String
bin name that data is indexed on
indexType
Type: Aerospike.Client IndexType
underlying data type of secondary index
indexCollectionType
Type: Aerospike.Client IndexCollectionType
index collection type
Exceptions

See Also