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
2
votes
1 answer

Restrict search result to current site/web

My requirement is to search within sub site, if i am searching within a specific sub site result should come from current sub site. Here everything is working fine. But when I do advanced search it gives result from all site scope. I can not create…
Ravi Khambhati
  • 637
  • 1
  • 12
  • 35
2
votes
2 answers

sharepoint crawl rule to exclude AllItems.aspx , but get an item/document in search resu lts if queried in the search box

I followed this blog Tips 1and created a crawl rule http://.*forms/allitems.aspx and ran full crawl. I no longer get the results with AllItems.aspx. However, if there is any document with name Something.doc in a Document Library , it no longer gets…
Janet
  • 1,391
  • 14
  • 40
  • 62
1
vote
0 answers

BCS to connect to a WCF Service and use bindings from a config file

I have data exposed from a webservice which is wcf. I already have method calls to call GetAllItems and GetItem(id). I want to use SharePoint Search to index them so that it can be easier to search. Our application uses Unity as dependency…
1
vote
2 answers

SharePoint 2010 Search Refinement Panel

Can anyone please help me in understanding count values in SharePoint refinement panel. In my environment when I am searching for some keyword say "abc" then in refinement panel it is showing some filter category say "filter1(6)", what I understand…
1
vote
3 answers

SharePoint 2010 Search - The search request was unable to connect to the Search Service

I am using SharePoint 2010 Foundation and I have a prolem with the search on there. Everytime I search for something I get the response of The search request was unable to connect to the Search Service. I have spent alot of time looking at this and…
1
vote
1 answer

customize default search results shown on SharePoint Online Top Search

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…
1
vote
3 answers

Microsoft Graph Search returning duplicates

I am querying https://graph.microsoft.com/v1.0/search/query with the following payload: { "requests": [ { "entityTypes": [ "listItem" ], "query": { "queryString":…
rlv-dan
  • 976
  • 1
  • 10
  • 21
1
vote
0 answers

SharePoint Search REST API - PrimaryQueryResult is null

I develop a SPFX WebPart that uses the SharePoint Search REST API. This SPFX WP is used in several tenants. The request is this below: { "request": { "__metadata": { "type":…
1
vote
2 answers

SharePoint Search REST API returns inconsistent Total Rows Count

We are a building a custom web part with pagination feature. To implement this feature we are getting a total rows count and showing the possible number of pages. While implementing this, we are running queries using the startRow and rowLimit query…
1
vote
1 answer

SharePoint - Duplicate search results showing for modified discussion list items

A client of mine is using Discussion Lists in SharePoint Online and has recently noticed that Office 365 search results are showing some discussion list posts twice. Duplicates are only showing for posts which have been recently modified in some…
1
vote
1 answer

Get the internal id for a refineablestring

I'm building up a query which will redirect the user to the search page with the relevant query info. My problem is the only way I know how to get the internal id for the refinablestring is via the address bar, I need a way to be able to get the…
1
vote
1 answer

Plugging SharePoint online index into elasticsearch

I have a use case for needing to index documents that live in different locations (Content Server, file share, SharePoint Online) so i can use this index for a search feature in a web app. The plan was to consider using elasticsearch because of it's…
1
vote
1 answer

Set SharePoint Search Query Result Source in JSOM

I am setting the result source level to 'SPSite' as I want to use the result source defined at site collection level. But it does not work. Is 'SPSite' a valid argument in JSOM? let query = new Search.KeywordQuery(ctx); // set Source…
Damitha
  • 391
  • 3
  • 16
1
vote
1 answer

Get documents created by current user with SharePoint Online Search REST API

I need to get the modified/created document of the user currently logged into SharePoint Online using rest api. I am able to get all created documents, however, I am missing the logic to retrieve the currently user logged in and add it to the rest…
1
vote
0 answers

SharePoint Search Error "There was an exception in the Database"

Created new content sources for SharePoint Search 2013 a week friday ago, returned content no problem. On the following Monday Search stopped working and displayed the error message "There was an exception in the Database". In the ULS logs, i got an…
Josh
  • 11
  • 1
  • 3
1
2
3
8 9