Why is "search by OV only" returning entities based on an attribute value that is defined as ov=false?

Question

We are getting the OV attribute values wrong picked in the advanced search.

 

mceclip0.png

Answer

If you look at the contents of the entity, you see that Valid is defined as ov=false

"ValidationStatus": [
            {
"type": "configuration/entityTypes/HCO/attributes/ValidationStatus",
"ov": true,
"value": "Invalid",
"lookupCode": "INVL",
"lookupRawValue": "INVL",
"uri": "entities/7FucluM/attributes/ValidationStatus/q13wUhkx"
            },
            {
"type": "configuration/entityTypes/HCO/attributes/ValidationStatus",
"ov": false,
"value": "Valid",
"lookupCode": "VALD",
"lookupRawValue": "Valid",
"uri": "entities/7FucluM/attributes/ValidationStatus/ZUxCCuVm"
            }
        ],

In this case search with searchByOv returns entity 7FucluM which has ov=false for validation status == VALID because it’s actually indexed as ov=true value in ElasticSearch.

If we check the last reindex task for the tenant was executed with "enableSeparateIndexing": "false". It won’t fix the issue if survivorship strategies for the attribute was changed.

At this moment there were the following survivorship strategies for the attribute,  This is used for indexing attributes.

{
"attribute": "configuration/entityTypes/HCO/attributes/ValidationStatus",
"sourcesUriOrder": [
"configuration/sources/Reltio",
"configuration/sources/VEEVA",
"configuration/sources/SDM",
"configuration/sources/CRM4U"
],
"fallbackStrategies": [
{
"attribute": "configuration/entityTypes/HCO/attributes/ValidationStatus",
"survivorshipStrategy": "MaxValue"
}
],
"fallbackUsingCriteria": "MORE_THAN_ONE",
"survivorshipStrategy": "SRC_SYS"
},

But when the above search was performed we now have in the business configuration.

{
"attribute": "configuration/entityTypes/HCO/attributes/ValidationStatus",
"sourcesUriOrder": [
"configuration/sources/Reltio",
"configuration/sources/VEEVA"
],
"fallbackStrategies": [
{
"attribute": "configuration/entityTypes/HCO/attributes/ValidationStatus",
"fallbackStrategies": [
{
"attribute": "configuration/entityTypes/HCO/attributes/ValidationStatus",
"survivorshipStrategy": "MaxValue"
}
],
"fallbackUsingCriteria": "MORE_THAN_ONE",
"survivorshipStrategy": "LUD"
}
],
"fallbackUsingCriteria": "MORE_THAN_ONE",
"survivorshipStrategy": "SRC_SYS"
},

In case of changing survivorship strategies, reindex to a separate index is required.

POST https://<environment>.reltio.com/reltio/reindex?taskPartsCount=4&distributed=true&tenantId=<tenantId>&updateEntities=true&forceIgnoreInStreaming=true&enableSeparateIndexing=true

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.