Tables below describe the types of actions/events which will require refreshing the documents stored in Hawksearch engines. Each event is added into a custom table (named hawk.IndexingQueue) when a particular action is taken (e.g. an editor publishes a new version of product, expires a variant, etc). Then, these events are picked up and resolved by the corresponding Handler inside the Incremental Indexing Job.
Commerce entities events & actions
Optimizely Events | Optimizely-Hawksearch Connector Indexing Actions | ||||
Category | Product | Variant | Bundle | Package | |
Category Events | |||||
publish category | index hierarchy | NA | NA | NA | NA |
Name in URL property changes on a category 1 | NA | index all products beneath category | index all variants beneath category | index all bundles beneath category | index all packages beneath category |
expire category | index hierarchy with IsActive false | NA | NA | NA | NA |
delete category | delete hierarchy | index all products beneath category | index all variants beneath category | index all bundles beneath category | index all packages beneath category |
move category (change parent category) 1,2 | index hierarchy | index all products beneath category | index all variants beneath category | index all bundles beneath category | index all packages beneath category |
link category to category 1 | index hierarchy | index all products beneath category | index all variants beneath category | index all bundles beneath category | index all packages beneath category |
Product Events | |||||
publish product | NA | index product | index all variants | NA | NA |
expire product | NA | index product | index all variants | NA | NA |
delete product | NA | delete product | index all variants | NA | NA |
add image to product 2 | NA | index product | index all variants | NA | NA |
delete image from product 2 | NA | index product | index all variants | NA | NA |
move product (change parent category) | NA | index product | index all variants | NA | NA |
link product to category | NA | index product | index all variants | NA | NA |
Variant Events | |||||
publish variant | NA | index product | index variant | index bundle | index package |
expire variant | NA | index product | index variant | index bundle | index package |
delete variant | NA | index product | delete variant | index bundle | index package |
add image to variant 2 | NA | index product | index variant | index bundle | index package |
delete image from variant 2 | NA | index product | index variant | index bundle | index package |
move variant (change parent category) | NA | index product | index variant | index bundle | index package |
link variant to category | NA | index product | index variant | index bundle | index package |
link variant to product | NA | index product | index variant | NA | NA |
link variant to bundle | NA | NA | index variant | index bundle | NA |
link variant to kit/package | NA | NA | index variant | NA | index package |
Bundle Events | |||||
publish bundle | NA | NA | index all variants | index bundle | NA |
expire bundle | NA | NA | index all variants | index bundle | NA |
delete bundle | NA | NA | index all variants | delete bundle | NA |
add image to bundle 2 | NA | NA | index all variants | index bundle | NA |
delete image from bundle 2 | NA | NA | index all variants | index bundle | NA |
move bundle (change parent category) | NA | NA | index all variants | index bundle | NA |
link bundle to category | NA | NA | index all variants | index bundle | NA |
Package Events | |||||
publish package | NA | NA | index all variants | NA | index package |
expire package | NA | NA | index all variants | NA | index package |
delete package | NA | NA | index all variants | NA | delete package |
add image to package 2 | NA | NA | index all variants | NA | index package |
delete image from package 2 | NA | NA | index all variants | NA | index package |
move package (change parent category) | NA | NA | index all variants | NA | index package |
link package to category | NA | NA | index all variants | NA | index package |
Cms Entities Events and Actions
Optimizely Event | Optimizely-Hawksearch Connector Indexing Actions |
publish page | index page and all subpages |
Name in URL' property changes on a page | index page and all subpages |
expire page | index page and all subpages |
delete page (move to wastebasket) 2 | delete page and all subpages |
move page 2 | index page and all subpages |
restore page (restore from wastebasket) 2 | index page and all subpages |
1 introduces a cascading event and a new handler
2 solved via Optimizely Content API - MovedContent event