Closed s8sg closed 1 year ago
Hi @s8sg,
Thanks for opening the issue. This is Starters repository, an auto-configuration project. The more suitable place for questions like the current one is sping-data-aerospike repository.
You can query map for values using the following approach:
Repository entry:
Mono<Customer> findByExternalRefsContaining(
String externalReferenceId, CriteriaDefinition.AerospikeMapCriteria criteria);
Calling it:
customerReactiveAerospikeRepository.findByExternalRefsContaining(
externalReferenceId, CriteriaDefinition.AerospikeMapCriteria.VALUE);
P.S. Today we released a new version of Spring Data Aerospike 3.5.0 (can take up to 24 hours to sync in Maven Central, so likely to be found there starting Oct 27th, and a new version of spring-data-aerospike-starters is planned to be released on Oct 28th).
It will be great to have some example for querying the MapValue index type in Spring
I have similar problem where I have index I have a customer defined as
I'm trying to get the data using
I'm calling it
But this fails to match the data where below works
I tested with AQL
and it works.
Data:
Can you suggest what I'm doing wrong