I’m trying to create a list type secondary index via IndexCollectionType.LIST.
This is the code:
AerospikeClient client = new AerospikeClient(“localhost”, 3000); client.createIndex(new Policy(), “test”, “testSet”, “testSet_index”, “binName”, IndexType.STRING, IndexCollectionType.LIST);
This results in the following error: com.aerospike.client.AerospikeException: Create index failed: FAIL:4:Invalid type must be [functional, userland, default]
What am I doing wrong? Is it possible to create list-type secondary index and query on it?
Regards, Peter Knego