Gravatar for loebrandy@gmail.com

Question by rloeb, Jun 23, 2016 11:18 AM

Cross-source data querying and consolidation

I have business objects that have metadata in different data stores. Eg. some information about the object is in sitecore, other in sharepoint. I'm concerned that if I query 2 indexes, that same object could appear more than once in results.

1) Are there ways, in the query (coveo rest) to tell the resolver to treat the objects as the same object (i.e. join by some guid field?) 2) Or, can I somehow during the crawling of one index, write the field values I want to another existing index, and then just query a single index?

Thanks!

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Jun 23, 2016 11:45 AM

Hi Randy,

The "index" you talk about is a called a "source" in Coveo unified index.

There are ways to query the index and define parent/child relationship between indexed documents. This is a bit complicated but greatly eased by the Coveo JavaScript Search Framework UI components related to folding.

Thare is a great blog post on the subject: http://source.coveo.com/2014/09/30/grouping-related-search-results/

I hope this helps,

Jeff

Ask a question