Questions tagged [sharepoint-search]

Search is a core capability of SharePoint that enables end-users to search the contents and metadata of documents, list items, and pages in a SharePoint site. This tag should be used for questions specifically on search capabilities or incorporating search capabilities into developed solutions.

SharePoint search is a built-in native capability with extensive customization capabilities and can be configured to meet specific business needs or be incorporated into fully custom solutions.

SharePoint Search includes a client object model (CSOM) that enables access to most of the Query object model functionality for online, on-premises, and mobile development. You can use the Search CSOM to create client applications that run on a machine that does not have SharePoint installed to return SharePoint search results.

The Search CSOM includes a Microsoft .NET Framework managed client object model and JavaScript object model, and it is built on SharePoint. First, client code accesses the SharePoint CSOM. Then, client code accesses the Search CSOM.

For more specifics on SharePoint search capabilities, see https://learn.microsoft.com/en-us/sharepoint/dev/general-development/search-in-sharepoint.

133 questions
0
votes
0 answers

SharePoint Online Search: Filter by FileType

I have some custom webpart that uses the SharePoint Online Search. By $selecting the managed property FileType/FileExtension, I can see the extension of the search results: (screenshot from Search Query Tool) If a have two PowerPoint files, one has…
febe
  • 13
  • 3
0
votes
1 answer

SharePoint Online - Search box is not showing suggestions

I want to enable suggestions in global search box and search page search box. Steps I followed : Go to the More features page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization. Under…
0
votes
1 answer

SharePoint Search issue resolving result source by name through API

During last weeks we are experiencing some issues on different tenants with Search in SharePoint. We are doing requests to the API to search and we are providing the result source name. During this last days, SharePoint seems that is not resolving…
0
votes
1 answer

How to ignore OneDrive Files in Sharepoint files search?

I'm trying to search Sharepoint & Teams files through POST https://graph.microsoft.com/v1.0/search/query. I passed the entityType as listItem in the request body so that I could able to search Sharepoint, Teams & Onedrive files. But in my case, I…
0
votes
1 answer

How to implement a search which could give whole site results in o365 SharePoint?

We want to implement a search which can give results for searched keyword from whole site in o365 SharePoint. Kindly suggest what are the best ways to achieve it, any reference material would be supper helpful.
0
votes
1 answer

Sharepoint 2019 search without Enterprise Search

Our organization has Sharepoint 2019 Server (On-Premise) licenses (via some partner subscription) and have bought Standard CALs. So now we must deploy Sharepoint Server 2019 that would be legal to work via Standard CALs, without enterprise services:…
0
votes
1 answer

Managed property for number field Sharepoint Online

i need to index a field in SharePoint Online. This field is of type "Number", but i noticed that if i use the property "refinableint" (of type number), it's not indexed (no result or null value), but if i use the property "refinableDecimal" (of type…
0
votes
1 answer

Search-UnifiedAuditLog for Sharepoint file and page activities dont match

I am trying to export audit logs for a particular Sharepoint site for the below operations and noticed that the count of records exported through PowerShell command "Search-UnifiedAuditLog" are much less than those downloaded through the browser…
0
votes
1 answer

How do I call the SharePoint Search API for Recent News within a SharePoint Framework webpart?

I am creating a webpart using the SharePoint Framework and I am trying to use the search API to get some recent news articles to create a news carousel. Here is my code snippet: private async _getNewsFeedSearchResults() : Promise { let…
Glenn Ferrie
  • 10,290
  • 3
  • 42
  • 73
0
votes
1 answer

CSOM SharePoint Search API filter files only

Using CSOM Search API is there a way to filter for only files? Something similar to the following ListItem filter would be ideal: ListItem.FileSystemObjectType.Equals(FileSystemObjectType.File) Ex use case: if…
seanrco
  • 935
  • 5
  • 16
  • 32
0
votes
0 answers

SharePoint search on Ranking

I have a SharePoint Site in a list there is column called category, while searching accross the site if the search keyword found in Category then the result should come on the top of the search result.
0
votes
1 answer

Sharepoint Online - Read Only User - PnP Modern Search - Unable to get search results

PnP Modern Search Version 3.18 When new user gets created in Office 365 and placed into SharePoint Site's " Visitor" group with only the View Only or Read only access. Search results in the PnP Modern Search results do not show up for that user.…
0
votes
1 answer

Limit sharepoint search API results to some geo locations

In a multi geo environment I would like to execute a SharePoint REST API search and limit it to some geo locations only as described in the microsoft multi geo documentation. I have tried the GET as well as POST requests, but all settings in my…
0
votes
1 answer

SharePoint Search is not working on the hidden libraries

I have configured SharePoint search and everything is working fine, but for some reasons I have to hide some libraries. After hiding those libraries, search results are not coming up for the items under those libraries. Is it expected or is there…
0
votes
1 answer

Set "Configure Search Navigation" in search setting in SharePoint Online using PowerShell

I want to mark checkbox to true for use the same search navigation links as my parent using PowerShell script as I have 100+ Subsites. I tries to some scripts but they did not work so it would be great if you can help me on this. Thank you. Output…
1 2 3
8 9