Hot answers tagged

4

You will need to perform full crawl. This will remove deleted sites from search. To crawl content that is defined in a particular content source, take the following steps: Go to Central Administration and then to Search Service application. On the Search Administration page, under Crawl, click Content sources. On the Manage Content Sources page, point to ...


3

You can just add multiple Path fragments - the default logic is that they will be "ORed" if there are multiple fragments for same managed property. However, you need to make a couple of more changes to your query. Firstly, you should use colon (:) after Path so that it would return you the items under the path and not just the list itself. Secondly, you ...


2

Try using PowerShell commend Stop-SPServiceInstance -Identity Example Stop-SPServiceInstance 67877d63-bff4-4521-867a-ef4979ba07ce Where is the GUID of the service. If you do not know the service GUID, you can retrieve a list of all services in the farm together with their GUIDs by using the Get-SPServiceInstance cmdlet. Or if this not works ...


2

Yes it is. Use the following query: {{searchterms} (ContentType:A) AND (ContentType:B)} I would personally use SPContentType:


2

You need to change it as below contentclass:STS_ListItem OR IsDocument:True


2

-For the finer you have to customise the search refiner webpart for the more details to search on the specific list visit this site


2

Automatically generated Managed Properties are always Text regardless of the base property type. If you want Date type you have to create it yourself either in the SSA or in the site/site collection.


2

As mentioned by Mathew the managed property you are referencing should be text only. You need to have refinable, sortable managed property to use in your query. There are multiple refinable properties like refinabledate00 to refinabledateXX which are already available in site collection schema, you can re- purpose this property by mapping relevant crawled ...


2

If you go to Site Settings > Search Settings > Send queries to a custom results page URL, you can send your results to the Search Center using the Search Center URL property, thus: {SearchCenterURL}/results.aspx EDIT I believe the properties are as follows: Site Collection Search Center = SRCH_ENH_FTR_URL Site Collection Search Dropdown Mode = ...


1

You could create a SSA in a test environment and restore the backups of the SSA databases. Then write some PowerShell to dump the configuration. That is the only way I can think to do it.


1

No, not without customization. On premises you could write a custom security trimmer that looks for the write permission after the query runs.


1

I know this is an old post, but I thought I may be able to shed some light on this subject. As a couple of folks pointed out above, the following syntax will access the refiners for a managed property called owsRoles. http://server/_api/search/query?querytext='Query text'&refiners='owsRoles' Make sure that the managed property is mapped to the ...


1

You can retrieve it from the DataProvider object. Which is accessible from within your display template. ctx.DataProvider.get_currentQueryState() This returns an object which gives you the whole search query context, like: keyword, sorting, refinement, ... In your case you want to extract the keyword, which you can retrieve from the property like this: ...


1

The closest thing to what you want in the spirit that is consistent with SharePoint search experience is a search vertical in a search center. Essentially, you create a separate search page which is using a separate result source, which filters the search results the way you want, while also allowing users to enter a search query. In your case, you would ...


1

I think there are four issues with what you are trying: Your managed property names cannot have spaces in them, i.e. presuming start date and end date are your list columns, you need to find the names of managed properties associated with them. So your query might become like this: Today >= "StartDate" && Today < "EndDate" You will need ...


1

Can you post the the next lines of the code? I'm concerned about the way you are trying to get the results agains the search service. And the SharePoint 2013 Search Query Tool is pretty fine and helpful to test this kind of query. EDIT: I looked over a solution that I did years ago, and I saw that a few other parameters were needed: KeywordQuery ...



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