DocuSign Insight - Searching for "ContractingParties" returns results where this attribute is not populated in the UI

Issue

When searching for "ContractingParties", you may see results which do not have this field populated when viewing the contract in the UI.
This is due to the structure of the predefined metadata in <install_home>config\seal\seal-back\application.conf.

By default, the following entry is present:
{name = "InternalContractingParty", type = "Text", documentLevel = false, flat = false, virtual = false, threshold = 0, facet = false, parentFacet = "", indexAsAdditional = "ContractingParties"}

As ContractingParties is defined under indexAsAdditional for the label InternalContractingParties, the search will return results for either label.

 

Solution

To only return results for the specific label, remove ContractingParties from the indexAsAdditional component in the application.conf.

For example:

{name = "InternalContractingParty", type = "Text", documentLevel = false, flat = false, virtual = false, threshold = 0, facet = false, parentFacet = "", indexAsAdditional = ""}

Save the file.

This change requires a solr index rebuild.