12

In addition to creating a result source (search scope), you can also simply provide the relevant query text directly in the search result web part of your search page. (See below). NOTE: Be sure to include quotation marks around the URL path, I could not get it work otherwise. {searchboxquery} path:"https://siteURL.com/DocumentLibraryName/*" For ...


11

Yes you need Office Web Apps to enable Document Preview. And Yes that needs a separate server/farm.


8

A Site Collection doesn't have dependency to another Site Collection. Only Web have dependency to it's Root web and Site Collection. To receive all Site Collections and Webs, you need to lose the OR statement and type (contentclass:"STS_Site") (contentclass:"STS_Web") To narrow down the result of sites, and not show all sites, you can add the path ...


7

This is a well identified issue which was fixed with the Oct 2013 CU update to SP 2013. This happens because the managed property ‘Title’ is mapped to crawled property ‘MetadataExtractorTitle’ by default as first priority and there was no way to change the order of this crawled property unless October 2013 Cumulative Update was applied. However, this issue ...


7

As far as I know in the Office 365 / SharePoint Online, you don't have any control over the schedule for the crawl. This is managed by Microsoft. SharePoint Online targets between 15 minutes and an hour for the time between upload and availability in search results (also known as index freshness). In cases of heavy environment use, this time can ...


6

Your filters should be: var refinementFilters = new string[] { "doc, docx" }; for (var i = 0; i < refinementFilters.Length; i++) { keywordQuery.RefinementFilters.Add("FileType:" + refinementFilters[i]); } where you add the property you want to filter on as part of the filter, not just the value. The above sample might not be the best as there is an ...


6

Create a search scope and give URL for your specific document library only in the rule. For details please check this link. Help Link Update: For SharePoint 2013 you need to create a Results Source and configure query to search in particular library only and configure your Search Results WebPart to use your Results Source. Please check this link


5

Search is just displaying the data as it got them when it indexed the content. I assume that the text you're highlighting is a quick part showing the version number. What happens is then the following. A user checks out and edits a draft version of the document (8.1) Word updates the quick part to show this version (8.1) At some point the document is ...


4

It should not affect the refiner since the refiner is working against the search index, not the list's index


4

A few days ago there was a question along the same lines here: Retrieve one library from each site and show the last item using ajax You would need to first get all subsites using this rest endpoint:/_api/web/webs?$expand=Webs Then loop the returned data and grab all items from the list that match the current date. Here's the base endpoint for that (You ...


3

I would start with some simple troubleshooting. After uploading and updating your Display Template, did SharePoint create the Test.js sister file? This is the actual file that will be used as the display template. When you create the Result Type rule did you choose the right conditions? I would try Results="Documents" and Content=Microsoft Word and add "...


3

It appears to be happening for all result types, so I suspect that you are causing it with a custom master page or CSS file. The hover is a hidden div on most Display Templates in: <div id="_#= $htmlEncode(hoverId) =#_" class="ms-srch-hover-outerContainer"></div> I would debug it by removing the customization and see that normal function ...


3

You can exclude any path you want in the result web part by adding a exclusion to the query. Edit the search results web part and select change query from the menu to the right. Switch to advanced mode and add this in the end of the query: -path:http://site/sites/sitecoll/lists/mylist* I'm not 100% on the syntax, so just add -Path: + your path (including ...


3

clearly, it is SPN issue. You have to make sure the SPN properly created.Could you please run the setspn and get list of all SPN which already created. if you need to allow delegated administrators to configure service principal names (SPNs), you must ensure that their user accounts have the Validated write to service principle name permission. More ...


3

You could check the property contentclass:STS_List_DocumentLibrary. One link for your reference: http://avalagopi767.blogspot.sg/2016/02/sharepoint-2013-keyword-query-kql.html


3

Use one of "unused Managed Properties" named Int00 - Int49. https://docs.microsoft.com/en-us/sharepoint/search/manage-the-search-schema#Schema_Tenant_SiteColl_Alias Basic steps: Create a new Site Column in one of your Site Collections. Add this column to a list or library and add at least one item to the list with data in the new column. Wait for, or ...


2

It was a while ago, but I have seen this for dates in British Summer Time on a SharePoint server where Windows was configured to not obey daylight savings. This resulted in the indexed datetime - which was a date-only field, and therefore stored as a datetime with 0000 hours - having an hour 'removed' from it. Thus, a date of today would be stored as 2013-08-...


2

Search for your Crawled Property and make note of the Data Type. (Also in SharePoint 2013 if you used a Site Column you may see your column twice, once for the crawl and once for the automatically created crawled and managed property pair.) When you create your Managed Property, before you click "Add Mapping", ensure that you have selected the right data ...


2

In addition to Per's answer: Here is my instruction how to install it: http://melcher.it/2013/05/install-office-web-apps-2013-for-sharepoint-2013-with-pdf-preview/ Follow the reference to Wictor Willens blog for the basic instruction and use my powershell to enable PDF preview.


2

I followed below steps, Add ListItemID managed property to SharePoint result Edit Display Template with below JavaScript and HTML var viewDocumentUrl = ctx.CurrentItem.ParentLink; viewDocumentUrl = viewDocumentUrl.replace("AllItems.aspx","") var viewDocumentHtml = String.format('View Property', viewDocumentUrl, ctx.CurrentItem.ListItemID); var ...


2

This is exactly what Query Rules were designed for. Query Rules allow you to promote certain results in SharePoint Search. You will find Query Rules under Site Settings. These can be configured either at the Site Collection or Web level. Take a look at these as they will help you understand how to create your own. A great example of this is in People ...


2

I have put together a quick PS scrip that should allow you to find, list and then remove unmapped properties. I adapted this from a script I've used before to remove all mapped properties Vadim's Blog. Hope it helps. $searchAppName = "Search Service Application" $categoryName = "Business Data" function RemoveCrawledProperty($crawledPropertyName) { ...


2

I alterd the script of @Benjooster because it doesn't work for me on SharePoint 2013. You need to pass a SearchServiceApplication object as a parameter instead off the name. Also when a crawled property has the option include in idex set to true it won't be deleted. You also need to do an $category.Update() properties will be back when you do a full crawl. ...


2

try this one to get result which are related to this content types ContentTypeId:0x0103* AND ContentTypeId:0x0108*


2

I don't think there is a way to query Search via app-only permissions. As a workaround you could use stored credentials and execute the Search using that context. But you need to understand that Search relies on a proper user context to function properly. Unless your security implementation is really simplistic you are likely to see issues where users see ...


2

I used Camlex function "WhereAny" public string exp(string t) { var expressions = new List<Expression<Func<SPListItem, bool>>>(); string token = t; //expressions.Add(x => ((string)x["ContentType"]).Contains("Document")); expressions.Add(x => ((string)x["Area"]).Contains(token)); ...


2

I don't think you can force a Search Language, I believe it defaults to the server language unless you deploy SharePoint language packs. Not clear on what you want with Thubnails. Tey are based on the display templates. If you want to remove them you can change the Display Templates. Edit the Search Results Web Part and Uncheck:Show AlertMe link, Show ...


2

I needed to add "\" before the "S" in Site.URL. Not sure why this is but I may investigate later. {\Site.URL}/Pages


2

Yes, it is available in SharePoint,Videos have an embedded viewer so you can take a look before clicking through. Result Types! We don’t squeeze all of the above into a single hover panel for every result. Instead, Result Type rules determine what ‘type’ of result you’re looking at, and the correct hover panel will be shown based on those rules. ...


2

By default if you have a long refiner name you get the following output: The refiners are set to a width of 160px. So if you want to show the whole refiner, you have to change the width via CSS of these refiners. When changing the width, this will have an impact on the whole search page. A better approach would be to override the ".ms-ref-ellipsis" class. ...


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