Closed elv-serban closed 1 year ago
(discussion 2023-05-17)
Info Fields Searchable paths:
Info Tab
Searchable paths:
- [ ] asset_metadata
- [ ] offerings
I ingested 5 different titles and then added a brief synopsis to each of them (lorem ipsum) as well as merged the searchables metadata as stated in the above comment. Been using the nobleflash
demo tenancy.
https://share.1password.com/s#X0V4bpTH_dt9gNEQgTsbNzlklkMihYZcSswuS8fFs9c
Then, I created a Search index object (iq__3Ryg5eotzgAEFL1tuxkwD8hBXbx3
) with content type Title Collection
where I added the Searchables tab using the gear icon and saving the content type's spec. Finally, I added all five recently ingested titles inside the Searchables section with no issues.
I did the same with the Site object (iq__t5JiDQW2W2tyHUyLaAbwrtkENc6
) but also added all titles inside the Titles tab as well.
After saving all my changes, I now see site_map
containing all titles with searchables
pointing to their latest versions hashes. Not sure how to proceed from here or how to link the site object with the newly created search index.
I've also changed the spec of both Title
and Title Collection
content types so that Searchable Links flag is checked and necessary links are added:
Title:
Title Collection:
Following up, I created a Site (iq__2Cyy77DqNbw8m1XfBLX2JeDx8iFZ
) and Search Index (iq__3mUrGK5J3u6cD6KZAwx1ksdvHxyJ
) content types inside the nobleflash tenancy. I then added all searchables titles I had previously set up inside the Searchables section of the Site object.
Then, I added the site object inside of the Search Index object, provided a document prefix so that it points to the entire object and added the necessary paths and types so that the index could query title
and synopsis
(on each video asset, I added a brief lorem ipsum synposis).
Lastly, I updated the indexer and tested by running a query searching for a specific title string and text part of synopsis of the searchable objects. Worked without errors.
Deployed to prod.
The site-level 'searchables' feature uses links to its title or title collections objects 'searchables' section.
We need to enhance the asset manager for title and title collections to create one or all 'searchables' links.
Ideally just present a section called 'searchables' and allow to user to select one or more of the supported categories.
Our current convention uses the following searchables categories:
asset_metadata
- this is the most common and is a link to /public/asset_metadtaofferings
- this is the second most common and is a link to /offerings (not under /public)assets
- link to /assetsvideo_tags
- link to /video_tagsExample full searchables section:
Configuration
We could use the content type JSON schema to determine the searchables categories to show:
For example for a Title:
And for the Title Collection just use
asset_metadata
andassets
(because offerings and video_tags don't pertain)