Skip to content

SharePoint Online Search API not returning Results for New SharePoint sites but SharePoint Out box search working. #10391

@Kamalasekaran

Description

@Kamalasekaran

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version
  • SPFx version
  • Node.js version
  • etc

Issue description

I am using a SharePoint Framework Solution with the Search API. Whenever new SharePoint sites are created and a document is added, the Search API does not return any results for about a week. However, during that same time, SharePoint's out-of-the-box search is returning results. Can you explain why the Search API is not returning results for a week and then starts to work?

/_api/search/postquery
{
"TrimDuplicates": false,
"Querytext": "(outlook) AND Path:[https://tenant.sharepoint.com/sites/sitetest/Documents"],
"RowLimit": 1000,
"SelectProperties": [
"FileLeafRef"
],
"HitHighlightedProperties": [],
"Properties": [],
"RefinementFilters": [],
"ReorderingRules": [],
"SortList": []
}

Metadata

Metadata

Assignees

Labels

Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.sharepoint-developer-supportsharepoint-developer-supportstatus:by-designTopic described is by design & not considered an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions