bizt
November 26, 2024, 4:13pm
1
Hi,
I want to filter on metadata as well as search query.
Here is my URL:
https://example.com/s/search.json?collection=collection1&query=anderson+AND+supervisor=Y&profile=_default_preview
The supervisor key is present in metadata JSON, and I only want those that have a value of “Y”. Sorry if docs exist for this, if there is a docs page for this please share. I couldn’t find it.
Thanks
plevan
December 11, 2024, 11:48pm
2
bizt
December 19, 2024, 2:09pm
3
Thanks. The second (scoped) parameter helped.
Do you have any documentation on profiles (e.g. default_preview) so we can learn more about this? I just want to check our live settings.
plevan
December 20, 2024, 3:32am
4
You can find out more information here. In the DXP/v16 a profile is called a results page, but it’s essentially the same thing.
Note: in v16 you don’t really use the _default profile anymore because creating a named results page/profile is done as part of setting up a search.