Forum Discussion
matteomessmer
Jun 16, 2023Copper Contributor
Sharepoint search does not return all the documents I expect
Hi, I created a site column (single line of text) for article codes and added it to my content type. Then I valorised the column for all documents (500 more or less) with their article codes, re-ind...
matteomessmer
Jun 20, 2023Copper Contributor
Paul de Jong Yes, all the documents have been indexed
Paul de Jong
Jun 20, 2023Iron Contributor
Really weird problem.
Can you share the query being executed? (open the console.log and select the network tab in your browser)
Can you share the query being executed? (open the console.log and select the network tab in your browser)
- matteomessmerJun 30, 2023Copper ContributorSorry for the delay
I think this is what you are asking:
POST https://mytenant.sharepoint.com/sites/MySite/_api/web/GetListUsingPath(DecodedUrl=@a1)/RenderListDataAsStream?@a1=%27%2Fsites%2FMySite%2FMyDocs%27&View=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee&IsGroupRender=TRUE&DrillDown=1&GroupString=%3B%23ABCDEF%3B%23&InplaceSearchQuery=abcdef%2012345%2E01%2FA&TryNewExperienceSingle=TRUE
As for the request payload here it is: {"parameters":{"__metadata":{"type":"SP.RenderListDataParameters"},"RenderOptions":4103,"AllowMultipleValueFilterForTaxonomyFields":true,"AddRequiredFields":true}}
Thank you- tunaunsalOct 25, 2024Copper ContributorHi Matteo, were you able to find a solution to this problem?
I have a similar issue. The search tools (both built in and PnP) do not return all the documents of a content type, when that content type is specified in the search tool. The documents are returned when no content type is specified. So SharePoint does not recognise a large amount of documents in the library with their content types. I tried reindexing a couple of times but it did not help.