Open boojongmin opened 3 years ago
There is still a limit of one index filter (statement.setFilter()) per query, so either "idx_1" or "idx_2" could be used, but not both.
Expression filters (policy.filterExp) are applied after the index is used and can reference any combination of bins in the returned record. Therefore, your code should work, but only one index will be traversed.
@BrianNichols thank for your appreciate comment. It is many helps for me. :)
I read this https://github.com/aerospike/aerospike-client-java/issues/33?fbclid=IwAR2PBkdaDZKYXA15B50B9muK8M5f2YcdcyssbXysW8gADlA2wM17bfHbyaM
but I need search multiple bin with index.
is this code will use index?
and... how I know search rules like sql explain
thank you