Is it possible to use primary key along with secondary key in Aerospike for fetching a record?

Is it possible to use primary key along with secondary key. I want to get all records on the basis of primary key and then apply secondary index over it? Is it the correct way to do it or some other approach should be used?

I have a bin with primary key. Once i fetch the record using primary key, i want to get only the subset of the record. Below is the record example. Also is there a better way to organise the record? Like keeping manager, supervisor and otherStaff as the key and then querying.

 {
    "name" : "test",
    "companyName" : "company1",
    "details" : [{
           "salary" : 1000,
           "designation" : "manager"
         },
         {
           "salary" : 2000,
           "designation" : "supervisor"
         },
         {
           "staff" : 500,
           "designation" : "otherStaff"
         }]
} 

@pgupta Can you help here

Use a Secondary Index query on the bin containing the primary search data and then use Predicate Filters to further select the records returned.

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.