Tag Info

Hot answers tagged

3

You need to setup the site collection's search settings (Site Actions -> Site Settings -> Search Settings). Enable custom scopes by pointing the site to your search center, and set the dropdown mode to enable those scopes to be used. Additionally, you should also point it to the applicable search results for your search center, so that when users perform a ...


3

Here is what you are looking for. I have used this when I had to recreate my search center and it worked like a charm: http://sharepoint.jsturges.com/2012/02/update-search-center-for-all-sites-in-a-web-application/ All you basically do is save your new search center url in a variable and use that variable to set the url to all sites within a web app by ...


3

Well... The list is quite extensive when you look at it flat foundation vs enterprise. And not knowing what your customers needs are I would, personally, tell these things to my customer; Custom site definitions and site provisioning are not available. InfoPath forms service Access Services Workflows Documents Sets Managed Metadata Document IDs And ALL ...


2

Html content is usually in the crawled property: Property Set: 11280615-f653-448f-8ed8-2915008789f2 Variant type: 31 Name: html (http://msdn.microsoft.com/en-us/library/ff795815.aspx) You can also add a "Spy" stage to examine what crawled properties are available in the pipeline - and see if you can find the one with the correct content. Or enable ...


2

If you're using SharePoint 2010 then you shouldn't use the SQL syntax the keyword syntax is simple just use site:mylibrary test


2

We finally figured out the problem with this one. We had given Full Read permissions to NT AUTHORITY\Authenticated Users for All zones in User Policy of the web applications in question. I am not sure of the reason for giving this. We removed it. Then, a full crawl fixed the issue. Thanks!


2

Two things, the start address for Profiles should be sps3://mysitehost. The permissions on the User Profile Service for the default crawl account has to be allowed to "Retrieve People Data for Search Crawlers". Go to Central Administration | Application Management | Manage Service Applications. Select the User Profile Service Application (don't click the ...


2

I've had a similar response here on stackexchange available here where using DVWp with the results coming from Search XML are then taken via SPD 2010 two column layout using XSLT of People Search Core Result WebPart I found that SPD 2010 is an excellent tool for getting extremely quick customization, you can then use standard operations to group/sort, etc. ...


2

The Search Center is a dedicate site template, with its dedicated onet / webtemp entries & definition. You could easily add one to your site collection by creating a subsite with the template SRCHCENTERLITE#0 / SRCHCENTERLITE#1 or SRCHCEN#0. Alternatively, you could inject the key search webpart within a dedicated page like in your code sample. You'll ...


2

Yes, you have two options: Use the already configured search index of Farm A (search federation) Crawl Farm A from farm B You can get more information about configuration here: http://technet.microsoft.com/en-us/library/jj219577.aspx#Section12


2

This is NOT possible with Managed Property keyword queries. The only wildcard capability that Sharepoint Search Server 2010 supports is "Stemming". Stemming expects the characters to be matched by the characters at the start of a string in the index. e.g. Item contains Title string "TestMe" You're query can be : Title:"Tes" and that would pick up the ...


2

You can use the following code if you do not want the webpart to be crawled(if the navigation control is a separate webpart). protected override void CreateChildControls() { if (!string.IsNullOrEmpty(Request.UserAgent)) { if (Request.UserAgent.ToUpperInvariant().IndexOf("MS SEARCH") > -1) { return; } } } Reference : How to prevent a ...


2

Just deactivate Document ID Service and reactivate it. Source: Click Here Or try this Open central admin Go to Operations Go to Services on server and located your index server On “Office SharePoint Server Search” click “Stop”. This deconfigures it. Now click “start” Then click “Shared Services Administration”, hover over the failing SSP and select ...


2

In SharePoint fields have display names and internal names. Created By or Modified By are display names of fields. Internal names are used when creating queries. Author is the internal name of Created By field and Editor is the internal name of Modified By field. UPDATE One way to check the internal name of a field from SharePoint UI is to go into List ...


1

OK, So I figured out a solution to this problem. I really don't know what caused it (I am thinking someone made a copy or something and for whatever reason when they uploaded the copy SharePoint didn't change the ID) because I wasn't able to reproduce the issue with newer documents. The solution: Find your doucments with non-unique ID’s either by ...


1

You are probably going to want to override the search box delegate control Here is a nice overview of delegate controls And here is someone overriding the search delegate control with a custom control Instead of a creating the custom control like in the the second link, it sounds like you want to point your delegate control at the enterprise search bar ...


1

I can't think of an efficient way of doing this apart from tagging all documents. The simplest and probably most efficient solution I can think of is, to do this on an event receiver when a document is added to the library, then writing an update script to set all the values of anything updated previously. You could do this in a good afternoon and have it ...


1

Not out of the box, no. But that would not be too hard to create yourself. Add a custom web part with a drop down for your page size options. You could even do this with SharePoint designer I guess. When the user changes the dropdown value, reload the page and append something like ?pagesize=50 to the URL Use the parameter for the pagesize property of ...


1

Figured it out. This rule not working: bdc3://flatfilelobsystem_flatfilelobsysteminstance/Default/00000000-0000-0000-0000-000000000000/3314/FlatFileLOBSystemInstance/3341?s_id=SBAAAAA==MwA=&s_ce=048u0h3o40800080g10200048u10003v55 So, you have to create profile page for your external content type. And exclusion rule works: ...


1

There are two search-related service application pools: Admin and Query. Here are the lines of PowerShell I use in my scripts: # Create the application pools for the Search Admin service and the Search Query service $apppool_searchadmin = New-SPServiceApplicationPool –name $ap_search_admin –account $account_search_admin $apppool_searchquery = ...


1

First, make sure that Search Service App and related accounts have "full read" permission with proper configuration on the site & document library content (as described here). Document sets share common metadata amongst the documents in the container and there are no limitations (for crawling, document types, etc). After a search crawl, in the Search ...


1

You could adjust the rendering for SCR to render like FR or the other way arround. You can add the total count for FR, the schema of opensearch does contain it so it should work: http://www.opensearch.org/Specifications/OpenSearch/1.1 Follow this article to see what xml both webparts render: http://msdn.microsoft.com/en-us/library/ms546985.aspx - there ...


1

If you're using standard SharePoint search pages, then you'll automatically get that passed to your KB article page. HttpContext.Current.Request.UrlReferrer contains the full URL of the page which referred to the current one including QueryString. So in a control on the KB article page you'll be able to check the UrlReferrer to check if it was a search ...


1

Here's a couple of quick ways to pass the query text to the result page: Append the query text to each search result hyperlink url as a query string parameter Add an onclick event handler to each search result hyperlink and save the query text to a cookie You can accomplish each of the above by using jQuery or by editing the search results web part XSLT. ...


1

You need to create your own SearchResult web part which inherits from CoreResultsWebPart and assigns the value selected (probably transferred through QueryString in URL) to ResultsPerPage There is a Results Per Page Search Core Results Web Part on Codeplex which you may be able to use


1

Thanks for the link. It didn't quite get me to where I wanted to go with this solution but it did give me an idea. I enabled the scopes pull-down and then set the value in the pull-down based on which radio button the user selected using jQuery. Then I set the style to display: none; on the pull-down. It worked and took very little code.


1

you could do the following: Just add a custom search scope. You can do this for a site collection from Site Actions, or for the server from Central Administration. Here's the steps for a site collection: 1) Go to your top level site in the site collection 2) Go to Site Actions, Site Settings 3) In the Site Collection ...


1

SharePoint sees the period as a word breaker (which means it treats each section of the IP Address as a separate word in the index and does not put them together). The only way to modify how SharePoint treats word breakers is with a custom dictionary: http://technet.microsoft.com/en-us/library/cc263242.aspx


1

With regards to that particular error code it is linked to Performance Monitor. You could try Make sure the Search Service account is added in the Performance Log Users and afterwards check that you find a search related trace with status Running in "Event Trace Sessions" of the Performance Monitor.


1

To the best of my knowledge, this cannot be done in Out-of-the box SharePoint Search beyond what is possible with Best Bets and Keywords, which probably isn't what you are looking for. A second option would be for you to write your own SharePoint search page / web part which would let you query the search index and then process the results as you see fit. ...



Only top voted, non community-wiki answers of a minimum length are eligible