Gravatar for asaikarthik@gmail.com

Question by Kavish, Jul 25, 2017 11:37 AM

How to push the sitecore item into existing coveo index (on premises)?

Hi,

I am new for Coveo, currently I come across the situation where I need to add the newly created item into coveo index. I have referred https://developers.coveo.com/display/public/SearchREST/On-Premises+Push+API but still I am not getting clear idea like what API I have to use and how to call this from the code. Tried to get some sample but luck.

Could you help me with some guideline/sample

Thanks,

Kavish

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Jul 25, 2017 11:43 AM

With Coveo for Sitecore, there is no need to manually push Sitecore items to the index. Indexing is done automatically with the `SynchronousStrategy` used by the Coveo_master_index. For the Coveo_web_index, indexing happens after a publish operation with the help of the `OnPublishEndAsynchronousStrategy`.

Gravatar for asaikarthik@gmail.com

Comment by Kavish, Jul 26, 2017 11:55 AM

Thanks Jean-François L'Heureux for your kind details, as you said SynchronousStrategy and OnPublishEndAsynchronousStrategy working fine. I think now cache causing some issue, after clearing cache content reflected in site.

Is there any way to view the coveo index values, if yes please share the details it will help us to validate the index value with Sitecore item value for quick check

Thanks,

Kavish

Ask a question