Gravatar for bberriz@lifeextension.com

Question by Ben, Aug 21, 2015 11:08 AM

Need Pipeline in Coveo for Sitecore

Is there a pipeline which I can use to run a process to prepare data before the individual item processing begins?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Aug 21, 2015 11:27 AM

Can you detail "before individual item processing begins" please? Do you mean:

  • Before the Sitecore item is converted to a Coveo indexable item?
  • Before the Coveo indexable item is converted to a RabbitMQ message?
  • Before the RabbitMQ message is converted to a CES document by the Queue connector?
  • Before the CES document is converted (its metadata extracted, its terms scanned…) by CES?
  • Before the CES document is indexed by CES?
  • Before the search results are sent to the user's browser?
  • Before a search result is displayed to the user?
Gravatar for bberriz@lifeextension.com

Comment by Ben, Aug 21, 2015 11:36 AM

I need to run a process at the start of indexing, before the indexing of individual items begins. So the order is this:

  1. Trigger indexing
  2. Run a process
  3. Begin processing of individual items
1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Aug 21, 2015 12:04 PM

Coveo for Sitecore doesn't have a specific pipeline that runs at the beginning of the indexing process of a batch of items (rebuild, re-index tree…). However, each time an indexing command is sent by Sitecore for a single item or a batch of items, Coveo for Sitecore will synchronize its configuration with CES. Part of this synchronization is for the CES field sets. There's a pipeline called coveoBeforeUpdateFieldSetPipeline that is run to allow the field set to be modified. You could create a processor for this pipeline and run your process in it without modifying the field set.

Ask a question