Gravatar for arif.solkar@kpittechnologieslimited.onmicrosoft.com

Question by Arif, Nov 28, 2018 1:22 PM

Coveo REST API to create a Related Query Component

We are using a Coveo Cloud integrated with sitecore.

We have a Pro Cloud - Coveo Cloud license, we are trying to create a related query component through the rest API.

Where we need to display related Topics as result on the Answer Page when the user type in a query for coveo.

How this can be achieved and what is the best practice to achieve it.

Refered this https://platform.cloud.coveo.com/docs?api=SearchApi#!/Search/post_rest_search_v2 ,

however this returns all the result at the organization level, I am not able to filter the result based on the index source.

Also tried to achieve referring the below link, but that also didn't worked.

https://docs.coveo.com/en/940/coveo-for-sitecore-v4/adding-related-results

Gravatar for flguillemette@coveo.com

Comment by François Lachance-Guillemette, Nov 28, 2018 1:43 PM

Coveo for Sitecore already provides a component to execute a Related Query based on an existing Search Interface.

I would suggest that you have a look at this answer for more details on how it works: https://answers.coveo.com/questions/13812/coveo-hive-and-coveo-related-query.html

Gravatar for arif.solkar@kpittechnologieslimited.onmicrosoft.com

Comment by Arif, Dec 6, 2018 12:56 PM

How I can query scope my search to another item in related component .
I am using a pro cloud license.
Is there a way a create a custom related query component.

0 Reply
Ask a question