Using list-type secondary index?

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

Peter,

It is not yet supported on the server side. Should show up soon.

Will be announced when it is done.

– R