-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
currently the setup wizard doesn't correctly update the site's query.yaml to index published products.
For example:
https://admin.hlx.page/config/adobe-commerce/sites/prerender-test/content/query.yaml
the setup should have change the query.yaml to
version: 1
indices:
index-published-products:
target: s3://published-products-index.json
include:
- /products/**
properties:
sku:
select: head > meta[name="sku"]
value: attribute(el, "content")
last-modified:
select: none
value: >-
parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT")
but for some reason, the setup wizard changed the query.yaml to
version: 1
indices:
index-published-products:
target: s3://published-products-index.json
include: []
properties:
sku:
select: head > meta[name="sku"]
value: attribute(el, "content")
last-modified:
select: none
value: >-
parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss
GMT")
Note the "include:" field.
Metadata
Metadata
Assignees
Labels
No labels