findEntities with multiple conditions does not return entities #490
Labels
functionality-call
To discuss and agree during weekly functionality call(s)
question
Further information is requested
Hello, I am testing the findEntities method with multiple match conditions and have found a behaviour which I don't know if it's correct.
I am searching for GlossaryTerm type and having as search condition the properties "displayName" and "name" with MatchCriteria.ANY. "displayName" is mapped for GlossaryTerm but the "name" property is not mapped.
While going through the code with the debugger I noticed that because the "name" property is not mapped it results in having the filter set to InstanceMapping.SearchFilter.NONE which means that no results are returned even though the "displayName" is mapped and there should be results matching that property. Also the filter for "displayName" is computed to InstanceMapping.SearchFilter.SOME.
Is this the correct behaviour? I would have expected to receive some results back matching the "displayName" property.
This is what the searchProperties look like:
The text was updated successfully, but these errors were encountered: