Snippet is not return

Created on 16 April 2025, 10 days ago

Snippet part of the result is not return

My search page, only return the title not the snippet.

When I test in curl it does return the snippet in the result.

curl -X POST -H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
"https://discoveryengine.googleapis.com/v1alpha/projects/10020202/locatio..." \
-d '{"query":"test","pageSize":10,"queryExpansionSpec":{"condition":"AUTO"},"spellCorrectionSpec":{"mode":"AUTO"},"languageCode":"en-US","contentSearchSpec":{"snippetSpec":{"returnSnippet":true}}}'

πŸ› Bug report
Status

Active

Version

1.5

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia finaukaufusi Sydney

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024