Hi @SR VSP ,
Yes, it is possible to make "Video" filenames containing specific keywords not searchable in SharePoint's Classic Search Web Part. One way to do this is to use the search schema to create a managed property for the "Video" file type and then exclude the managed property from the search results.
Here are the steps to create a managed property and exclude it from search results:
- Go to the SharePoint admin center and select the search service application.
- Click on "Search schema" and then "New Managed Property".
- Name the managed property (e.g., "VideoFileName") and set the type to "Text".
- Add a mapping to the crawled property that contains the "Video" file name.
- Save the managed property and wait for the search crawl to complete.
- Go to the search results page and click on "Edit Page".
- Click on the Classic Search Web Part and then "Edit Web Part".
- In the "Properties" pane, expand the "Query" section.
- In the "Exclude" field, enter the managed property name (e.g., "VideoFileName").
- Save the changes to the web part.
This will exclude any "Video" filenames containing the specific keywords from appearing in the search results.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.