-
Notifications
You must be signed in to change notification settings - Fork 120
add is:agency-pick with 'ticker' (which has breakdown by supplier)
#4563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
fdc7b74 to
498bad8
Compare
7e43291 to
65513d8
Compare
…ts.supplier`) with red border on matching images (definition is in common.conf under `agencyPicks.ingredients`)
65513d8 to
7305ffa
Compare
3dc776d to
166b1bb
Compare
…ig property `agencyPicks.colour` to allow override
is:agency-pick with 'ticker' (which has breakdown by credit/supplier)is:agency-pick with 'ticker' (which has breakdown bysupplier)
is:agency-pick with 'ticker' (which has breakdown bysupplier)is:agency-pick with 'ticker' (which has breakdown by supplier)
| | "SPOTLIGHT", // Rex/Shutterstock | ||
| | "spotlight", // Rex/Shutterstock | ||
| | "Spotlight" // Rex/Shutterstock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these seem to pick up a fair few non-shutterstock pics which are not an "agency pick". Since Feb shutterstock seems to provide an "EDITORS' PICKS" which looks a much clearer signal to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For visibility. We have done some searches, and it may be best to match on both. This is from our friends at Shutterstock:
spotlight and editors picks can be used interchangeably. On our end we have a unique “spotlight” category which is used for filtering the best/most impactful images on the website. When that category is applied it also adds the keyword “editors picks”. On transmission to ftp clients, both “spotlight” and “editors picks” should be available in the keywords field.
Fixes #4246
What does this change?
actionsfield in thesearchresponse from an [optional] integer, which opaquely meant the org owned count within the current search, to something more structuredagencyPicks.ingredientsconfig option tocommon.confwhich supports a map of field name to list of words/phrases tomatch phraseon, e.g.is:agency-picksearch, which is a query built by ORing together each of the words/phrases from the above config asmatch phrasequeries against the relevant fieldagency pickswhich uses theis:agency-pickquery as a 'filter aggregation' when searching (same as the 'org owned' ticker) but also does a 'sub aggregation' on the top 9usageRights.supplier(with anothercount if applicable) and presents these as a table in the tooltip (to get a breakdown at a glance)X newbadge), they're now merged into the first set of counts (via mutation) rather than being held as a separate variable, which simplifies the html template code.metadata.descriptionand exact matching for array based fields e.g.metadata.keywords)Tested? Documented?