pnp/sp-dev-solutions

Search box WebPart has stopped working after 23rd Jun 2020 - "Querytext":"*"

Sachindagar opened this issue · 2 comments

Hi Team,

I think MS has done some changes in the Search API due to that the search box WebPart has stopped working. They are pushing the changes tenant wise hence it is impacting the tenant which has deployed the latest patch.

Category

  • Question
  • [x ] Bug
  • Enhancement

Expected or Desired Behavior

Keyword search should be working.

Observed Behavior

When we trying to search anything from the keyword search, the results are not refined based on the keyword. We have checked the request payload and found that the keyword provided in the searchbox is converted to "". Hence the final Querytext":"".

Below is the payload

{"request":{"__metadata":{"type":"Microsoft.Office.Server.Search.REST.SearchRequest"},"ClientType":"ContentSearchRegular","Properties":{"results":[{"Name":"EnableDynamicGroups","Value":{"BoolVal":true,"QueryPropertyValueTypeIndex":3}},{"Name":"EnableMultiGeoSearch","Value":{"BoolVal":true,"QueryPropertyValueTypeIndex":3}}]},**"Querytext":"*",**"EnableQueryRules":false,"QueryTemplate":"{searchTerms}","RowLimit":10,"SelectProperties":{"results":["Title","Path","Created","Filename","SiteLogo","PreviewUrl","PictureThumbnailURL","ServerRedirectedPreviewURL","ServerRedirectedURL","HitHighlightedSummary","FileType","contentclass","ServerRedirectedEmbedURL","DefaultEncodingURL","owstaxidmetadataalltagsinfo","Author","AuthorOWSUSER","SPSiteUrl","SiteTitle","IsContainer","IsListItem","HtmlFileType","UniqueID"]},"TrimDuplicates":false,"SortList":{"results":[{"Property":"Created","Direction":0},{"Property":"Size","Direction":1}]},"Refiners":"","HitHighlightedProperties":{"results":[]},"RefinementFilters":{"results":[]},"ReorderingRules":{"results":[]}}}

Steps to Reproduce

  1. Add Search box webpart and search webpart
  2. try to search anything by typing any keyword in search box, the results are not refined.

This is the advisory message posted to the SharePoint health - I think there is some bug introduced

User profile changes not reflected in search results within SharePoint Online
SP217039, SharePoint Online, Last updated: June 25, 2020 3:34 AM
**Start time: June 23, 2020 5:24 PM**
Status
Service degradation
User impact
User profile changes may not be reflected in search results within SharePoint Online.
Are you experiencing this issue?
Is this post helpful?
Latest message View history
Title: User profile changes not reflected in search results within SharePoint Online

User Impact: User profile changes may not be reflected in search results within SharePoint Online.

More info: Affected users can reach out to support to temporarily mitigate this issue through a manual re-crawl; however, changes made after the re-crawl will remain impacted.

Current status: We've developed a fix for the issue and are deploying it to the affected environments. Once the deployment completes, we’ll run a joblet to fully mitigate the issue. We anticipate the full mitigation will take approximately five days to complete.

Scope of impact: Any user may be impacted by this issue.

Root cause: A recent code change to the SharePoint Online service inadvertently resulted in impact.

Next update by: Friday, June 26, 2020, 5:30 AM (6/25/2020, 7:30 PM UTC)
wobba commented

If this is related to modern search web parts, the correct repo is https://github.com/microsoft-search/pnp-modern-search and it's dynamic data related. See microsoft-search/pnp-modern-search#325