connectors icon indicating copy to clipboard operation
connectors copied to clipboard

[SPO] Exclude "not allowed for search" objects

Open llermaly opened this issue 1 year ago • 1 comments

Problem Description

Sharepoint allows to disable items from sharepoint search. I think we should align with this and not show this documents in Elasticsearch either.

Proposed Solution

Filter out the excluded documents. https://stackoverflow.com/questions/76787756/how-to-figure-out-if-search-enabled-in-sharepoint-using-the-api

Additional Context

The disable for search option is under Advanced settings:

image

This flag is exposed as NoCrawl through sharepoint rest API.

llermaly avatar Jul 28 '23 15:07 llermaly

https://learn.microsoft.com/en-us/search/?scope=graph&view=graph-rest-beta&terms=nocrawl

llermaly avatar Jul 29 '23 04:07 llermaly