Search in Sharepoint online

%3CLINGO-SUB%20id%3D%22lingo-sub-1284639%22%20slang%3D%22en-US%22%3ESearch%20in%20Sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1284639%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EIn%20Sharepoint%20online%20there%20are%20two%20places%20to%20disable%20search.%20One%20is%20on%20site%20level%20and%20one%20is%20on%20Library%20level.%3C%2FP%3E%3CP%3EWhen%20a%20user%20is%20within%20a%20site%2C%20they%20can%20search%20content%20on%20the%20current%20site%20they%20are%20in%20or%20whole%20sharePoint%20Online%20as%20shown%20in%20the%20attached%20file.%3C%2FP%3E%3CP%3ERequirement%20is%20that%20company%20does%20not%20want%20content%20to%20be%20searchable%20when%20use%20search%20on%20top%20(search%20entire%20organization)%2C%20but%20it%20should%20show%20result%20if%20search%20the%20bottom%20field%20(search%20this%20site).%3C%2FP%3E%3CP%3EFor%20now%2C%20i%20have%20disabled%20search%20on%20site%20level%20and%20it%20does%20not%20show%20any%20result%20when%20use%20the%20top%20search%20bar%2C%20but%20it%20also%20does%20not%20show%20result%20when%20use%20bottom%20search%20bar.%3C%2FP%3E%3CP%3EIs%20it%20possible%20at%20all%20to%20adjust%20search%20according%20to%20our%20requirement%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1284639%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1287257%22%20slang%3D%22en-US%22%3ERe%3A%20Search%20in%20Sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1287257%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EBoth%20the%20search%20box%20use%20the%20Search%20settings%2C%20if%20it%20is%20disabled%20then%20both%20the%20search%20box%20will%20not%20show%20the%20results.%20I%20doubt%20that%20the%20search%20box%20on%20the%20library%20can%20be%20linked%20to%20different%20content%20source.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20it%20helps%2C%20please%20like%20it%20or%20mark%20it%20as%20a%20solution%20if%20it%20resolves%20ur%20clarification%20or%20issue%3CBR%20%2F%3E-Sudharsan%20K...%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1287279%22%20slang%3D%22en-US%22%3ERe%3A%20Search%20in%20Sharepoint%20online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1287279%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20reply%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F144422%22%20target%3D%22_blank%22%3E%40Sudharsan%20K%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eit%20didnt%20clarify%20much%20for%20me.%20It%20short%2C%20is%20it%20possible%20to%20make%20document%20library%20searchable%20only%20within%20the%20site%20(bottom%20searchbar%20in%20the%20attached%20pic)%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hi all,

In Sharepoint online there are two places to disable search. One is on site level and one is on Library level.

When a user is within a site, they can search content on the current site they are in or whole sharePoint Online as shown in the attached file.

Requirement is that company does not want content to be searchable when use search on top (search entire organization), but it should show result if search the bottom field (search this site).

For now, i have disabled search on site level and it does not show any result when use the top search bar, but it also does not show result when use bottom search bar.

Is it possible at all to adjust search according to our requirement?

 

Thanks!

 

 

3 Replies
Highlighted
Hi,
Both the search box use the Search settings, if it is disabled then both the search box will not show the results. I doubt that the search box on the library can be linked to different content source.

Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
-Sudharsan K...
Highlighted

Thanks for reply@Sudharsan K 

it didnt clarify much for me. It short, is it possible to make document library searchable only within the site (bottom searchbar in the attached pic)

Highlighted
Hi,
Can you try creating a new search results page and all the search results web part with the defined content sources. Then map the search page for that site so that it will not navigate to the default search centre.