Exclude Document library items from search - sharepoint

I have a document library that contains many files that I am linking to throughout the site, but I do not want them to be searchable using the site search.
Setting:
Library settings -> Advanced settings -> Allow items from this document library to appear in search results?
To "No" did not change a thing.
Is there anything else I should check?
Thanks

You could go to SharePoint admin center-> more features-> Open Search->Remove Search Results. Paste the URLs into the "URLs to Remove" box.

Related

SharePoint 2013 Search Results for Site Search Box and Document Library

I like to check if there is a way to allow Document Library Search feature to function but when user tries to search in Main Site Search Box, document library items are not returned in the result list?
I have tried to add search query but it does not work.
Thank you.
I've not done this myself but I think you would need to go in to the site settings and play around with the Search area to get something like this to work. I think the area you would have to tinker with would be Result sources.
Hope this helps
Cheers
Truez

Sharepoint MOSS 2007 advanced search customization

In my sharepoint site, the master page template is chagned and we moved the search box into the site which showed as a web part, When the user enters a search string in that box, it should search whatever the materials available in the site itself, document library, blogs in the web, forums and wikis. Therefore, I think I need a way to figure out how these types of searches are done using sharepoint as well as how programmatically provide a search string to advanced search and receive search results. Any Idea how to do this? my code behinds are in C#
I don't think that should be any issue as sharepoint search is based upon the query string K parameter stands for Keyword, s parameter stands for scope, cs stands for contextual scope So use these parameters in query string to your results page having the core results webpart.
eg.
http:// <>/ <>/ results.aspx?k="Test Keyowrd"&s="All Sites"

Accessing hidden SharePoint list

Currently I have a few lists in my SharePoint site that has been hidden from the user (via the hidden property which was set programmatically). I was wondering whether there are any special urls/web or ways to access those lists? e.g. {site}/lists/hiddenList or something similar?
Thanks.
The URL for a Hidden list is no different than any other list, no hoops to jump through. You just need to know the base URL.
If it is not a Document Library, it will be located at {siteurl}/Lists/{listname}/AllItems.aspx. If it is a Document Library, it will be located at {siteurl}/{listname}/Forms/AllItems.aspx. These would give you the default list view assuming it is still called AllItems.aspx.
Open the site collection in the free SharePoint designer. This allows you to browse through most of the content stored in SharePoint.

Sharepoint content are not searchable...why?

I create a form form infopath. On that form I took the text boxes with corresponding fields, then I embed the form in SharePoint. Then in my document library, clicked "new", filled up data. Then I can see the data columns wise in my document library. Let's say I fill data as "Lalit" when I tried to search it, it gave me message:
"No results matching your search were found."
1.Check your spelling. Are the words in your query spelled correctly?
2.Try using synonyms. Maybe what you're looking for uses slightly different words.
3.Make your search more general. Try more general terms in place of specific ones.
4.Try your search in a different scope. Different scopes can have different results.
What should the problem ?
If you're using SharePoint Server you have to configure the search before you can use it. SharePoint then crawls the content of you site and builds an index for it, that will be used by the search.
You find the search configuration in the Central Administration under the Shared Service Provider for you web application.

Sharepoint search, redirect from OSSSearchResults.aspx to Search centre

i have a question about configuration fo search pages in sharepoint. There are two types of searches:
contextual which searches just in current page or list (they are labelled like: This site: Name of site or This list: Name of list), they point to OSSSearchResults.aspx page
custom searches which can be user defined, they point to Search center
Custom searches are not a problem, since search center can be modified easily, but with contextual searches there is a problem.
So, is there a way to configure sharepoint so it will send users to search center even with contextual searches?
I know that i can insert some javascript into OSSSearchResults.aspx or create HttpHandler which will redirect him automatically, but i wonder if there is some more native solution.
I wrote an article that might help you configure this.
In SharePOint 2013
- Go to site settings-> Seach settings -> Enter the search center url-> tick mark the -> Use the same results page settings as my parent.
Configure Search Navigation:
Everything -> /sites/searchcenter/Pages/results.aspx
Hope this helped

Resources