Gravatar for lautaro.bonetto@gmail.com

Question by Lautaro Bonetto, Jan 20, 2015 8:56 AM

How do I can trigger a new crawling process using a post-conversion script?

Morning,

On my current project we have CES 7.0 and Sitecore 7.5. We are using Coveo to index Sitecore items and we have a field with an URL on those items. This URL points to a MS Word file on another web site. We want to trigger a new crawling process to index those MS docs after Coveo finish the indexing of each Sitecore items. Is it possible? Could someone send me an example?

2 Replies
Gravatar for vseguin@coveo.com

Answer by Vincent Séguin, Jan 20, 2015 9:01 AM

Hi,

I would use a coveoPostItemProcessingPipeline, as described here : https://developers.coveo.com/display/SC201503/Using+the+Coveo+Pipelines

to fetch the item and output two items in the 'OutputItems' property. You can create a new CoveoIndexableItem and assign the BinaryData of the MSWord document, as well as the uri. Make sure to set a uniqueId property as well so it gets indexed.

Gravatar for lautaro.bonetto@gmail.com

Comment by Lautaro Bonetto, Jan 20, 2015 3:10 PM

Thanks you, Vincent. That is what I was looking for.

Gravatar for nbernier@gmail.com

Answer by Nicolas Bernier, Jan 20, 2015 7:05 PM

Lautaro, You could simply use the web crawler in this case. You only need a page that display all the word link. That page can either be on SC or you other web site.

Ask a question