customize default search results shown on SharePoint Online Top Search - sharepoint-online

When you click on the default search box available at top of SharePoint Site, you see some default results shown by SharePoint.
I want to know the feature that enables/disables this behaviour.
And can we customize it further.
the bahavior
I tried going through the Search settings of site collection and Central admin.
No luck.

I found a thread for you that has the same need as yours:Avoid default results in Search Result Web Part
He solved the problem by adding \\{searchboxquery?} to the Search Results Web Parts content source, maybe it's worth a try for you.

Related

SharePoint site not getting indexed

Due to a requirement I have set the option "Allow this site to appear in search results?" to No. Later I have changed that options to Yes, but none of the site content are not retrieved by search. I have re-indexed the site and a list as well and still those are not indexed. Now 24 hours gone after making it to yes.
Appreciate if anyone can suggest a solution.
Could you check if your search account and content access that you use has FULL read access to your web applications. Also, make sure your read access to User profile service Applications as well as People search working.
And i see you've already have set "Allow this site to appear in search results?" to Yes.
Could you check if you set " Allow items from this document library to appear in search results?" to yes as well ?
Here are the steps on how to set up document library to appear in search results:
As an admin, locate the library that's missing from search results.
Click the gear icon () in the upper-right corner.
Select Library Settings.
Select Advanced Settings.
Make sure that Allow items from this document library to appear in
search results? is set to Yes.
After the setting is set to Yes, the library should be indexed during the next scheduled crawl.
For more detailed info please review here

SharePoint 2013: hover on search result automatically starts downloading document

I have configured a search results webpart to show documents based on the search keywords.
As soon as I hover on any of the search result item, it automatically triggers download and asks weather to save the document or open it directly.
This issue is coming on IE.
I have come to find the root cause of the problem but not the solution(Will update when I get to the solution).
As it is an intranet portal, IE has its default security settings to medium-low(It is medium for internet sites).
Under medium-low security settings Allow Active-X filtering is disabled. Enabling it solved the issue.
PS: You can get to the settings by clicking on TOOLS->INTERNET OPTIONS->SECURITY->LOCAL INTRANET.

sharepoint search problem

I'm working on a sharepoint project.
After I adding the search web part. The search function behaves weird.
I have crawled the content source and configured the permission.
The following search bar, no matter what I search, I got nothing
But the advanced search web part can work properly.
The thing is, in the result page of the advanced search web part, if I choose to see the result of my sharepoint website instead of "Any Site", I got nothing. I am sure that the result of "Any Site" is from my sharepoint site.
Any ideas will be appreciated.
Regards,
Bin
You need to check your search log to make sure content is being crawled correctly. It looks like you do not have any results for your a particular site. modify your search webpart to show the scopes drop down an experiment to find out which scopes are not responding correctly and debug from there.
You need to ask this question on serverfault.com or sharepoint.stackexchange.com as this site trys to deal with programming specific errors only.
It sounds like you might be crawling a non default zone. Maybe you're crawling an intranet or extranet zone. Make sure you crawl the default zone and that the default zone has NTLM authentication enabled and that the crawler has access to the web application via full read policy.
If this is SharePoint 2010 Foundation and you have named your documents_with_underscores, the underscores are not word breakers and as a result no matter what you search for "Documents" "with" or "underscores", in that case, would be successful. The word "with" would be removed by the content processor (search query and site settings service) in 2010 and the other two words would not be read as separate words because 2010 foundation would treat documents_with_underscores as one word. If you searched for "documents_with_underscores" you would find it.

Customizing Search Results Display in Sharepoint Services 3.0 Wiki

I'm looking at using a Windows SharePoint Services 3.0 wiki as a metadata repository. We basically want a community-driven dictionary and for various reasons we're using Sharepoint instead of say MediaWiki.
What can I do to customize or completely replace searchresults.aspx?
Features I'd add if I knew how:
Automatically load the #1 hit if it is a 100% match to the search term
Show the first few lines of each result as a preview so users don't have to click through to bad results
Add a "Page doesn't exist, click here to create it" link in cases where there's not a 100% match
I've got Sharepoint Designer installed and it looks like I'll be able to use it to upload any custom .aspx files I create but I don't see that it will give me access to searchresults.aspx.
Note: Since I plan to access this search tool from an external site via URL parameters it should be fine to leave the existing searchresults.aspx unchanged and just load this solution as a complementary search option.
Yes, everything is possible but you will need to customize it a little bit.
I would recommend you to build a custom web part to display your results. Here is a nice article to start with: http://msdn.microsoft.com/en-us/library/ms584220.aspx

Search Center on SharePoint Publishing site

Can someone give me some directions on how to setup SharePoint Search Center so I can get results from the list and that they have some custom (modified) link?
I have Forms authentication (and anonymous access) enabled with alternate access mapping.
Right now in the Default zone I get results from the data in lists and they all point to the AllItems.aspx. If try search from the Internet zone I don't get any results from the lists and I am guessing that this is because of some security settings. But if make them to show how will I customize resulting link so that list items are shown with some publishing page.
For example if I keep news in the News list and when I do search I want to get result with link in following format
http://somesite/Pages/News.aspx?itemId=12
where the itemID is he id of the news item.
Can I customize link in the result ?
You can customize the result link using the Core Search Results web part. It is all in the XSL which is available if you modify the shared properties of the web part.
The problem is that this page is meant to show search results of all types including documents in SharePoint, files potentially outside of SharePoint, web pages, business data, etc.
You may want to have a custom search results page that uses a specific scope or managed property query such that you can be sure the results will be list items. This can probably be done without any coding (if you don't consider XSL coding) and you could still use the Core Search Results web part.
Another option may be similar, but use the Data Form/View web part (through SharePoint Designer) or the Content Query Web Part (Publishing Infrastructure feature required).

Resources