Hello.
My team is currently trying to use the following service:
https://discoveryengine.googleapis.com/v1/projects/{projectid}/locations/global/collections/default_collection/dataStores/{datastoreid}/servingConfigs/default_search:search
the request body is as follows:
the response we are getting is the following:
The order by in the request seems to not work, despite the my_updated_at existing in the output. Can I get some help with this?
Thanks in advance
Hi @joaocostapt,
Welcome to Google Cloud Community!
I understand that you are having an issue with ordering by date in descending order. You may try to change your 'my_updated_at' field to a predefined, Google-inferred page dates or order by custom structured data attributes.
You can also check this post on how Google picks the right date for your web page.
I hope the above information is helpful.
@joaocostapt how did you get https://discoveryengine.googleapis.com/v1/projects/{projectid}/locations/global/collections/default_... ? I'm working on similar task, but I can only get it work by using cloud shell. Got 503 error when make api call via python or node.js client library. Appreciated if you can share the config you have done. thanks in advance!