Answers results with relations

Hi David,

I ran this soda example in a test account using the “Entity Relationship (Shared Field)” custom field type and was able to get the outcome you are describing. Here are the steps I went through that you should be able to duplicate:

  1. Create the custom field in Knowledge Graph > Configuration > Fields > Add Field. Using a shared field would probably work best for this example where you want to see all three of these sodas as a result regardless of which soda name you are using as a query

  2. Go to the entity you want to add the related products to. Go to the new custom field you just made, click into the field and select the related items in the dropdown. Here, I added Coke and Fanta as related products to the Pepsi Entity.

  3. Go to your Answers backend, select the Product vertical and add c_relatedProduct.name as a searchable field. Now if you search Pepsi, it will pop up with results showing the related Coke and Fanta entities as well. You can see this on the right in the test search.

If this isn’t what you are looking to achieve or are still having issues, feel free to add specific details/screenshots and I can assist.