Articles in this section

How to create secondary index on multiple fields (composite key)

Context

Is it possible to create a secondary index on multiple fields?


Method

This is possible starting with Aerospike Server 8.1, with the new Expression Index feature. Prior to that, secondary indexes could be created on only a single bin, although a query could have additional predicates to further filter the records returned from the secondary index.


Applies To Earliest Version

Pre 4.9

Applies To Latest Version

Current Version
Was this article helpful?
0 out of 0 found this helpful