Forum Discussion
RefinableString Property empty
The objects of the other sites were not changed, so the reindex-job was not started for them. So it never added the crawled property to the "new" refinable string. That only happens if the object/file itself is re-indexed.
Re-indexing each sitecollection will solve that problem and might be the only solution.
You can do that for a single site collection with PnP Powershell and the cmdlet "Request-PnPReIndexWeb" (https://pnp.github.io/powershell/cmdlets/Request-PnPReIndexWeb.html).
You will have to do that in a loop for each SiteCollection (You get all sitecollections with "Get-SPOSite -Filter { Url -like '*/sites*' } -Limit All")
- Jan HennemannOct 05, 2022Brass Contributor
SvenSieverding Thx for your reply Sven. But does SPO not fullcrawl and re-index automatically at least after 24 hours?
Otherwise managed properties won't work at all without manually re-indexing, or do I miss something.Also on my dev-tenant and all other tenants I have access to it works fine and I do not have to re-index anything because SPO at some point does a fullcrawl.
Greetings
Jan
- SvenSieverdingOct 05, 2022Bronze Contributor
Jan Hennemann wrote:SvenSieverding Thx for your reply Sven. But does SPO not fullcrawl and re-index automatically at least after 24 hours?
Otherwise managed properties won't work at all without manually re-indexing, or do I miss something.Jan Hennemann
yes, that is correct.... but in my experience a full crawl in SharePoint Online happens sometime between 2 hours to several days.... not exactly every 24 hours.... (I think a once waited more than a week until a gave up and re-indexed manually)- Jan HennemannOct 05, 2022Brass Contributor
SvenSieverding yes but I waited already more than 4 weeks.. I'm afraid that for every new site or after renaming a site the Refinablestring won't get update automatically (after some time). So re-indexing all existing sites will maybe fix my current problem but not potential future problems.