Reputation: 1366
Aerospike reference specify that there are static configuration for indices.
Is there a way to create secondary index via the configuration ?
similar to :
asinfo -v "sindex-create:ns=ns;set=set;indexname=bin;indexdata=name,STRING"
Upvotes: 2
Views: 233
Reputation: 7117
There is not, but you can write a wrapper script to handle starting up your server and then applying any asinfo commands that apply to your model.
Upvotes: 3