Do we need to create Indexes for all bins that i need to search on?


Suppose there are 10 bins, i need to search these bins.

  1. Do i need to create Indexes on all bins that need to be searched upon?


If you need to look up Aerospike using any of these 10 bins values, then you need to create secondary index on all of them.

Other option would be to do scan (analogous to table scan in RDBMS) but that would read entire database which is kind of lot of work and slow…

What alternative do you have in your mind ??

– R


in that case, secondary Index would be the option then…