I am trying to search all sites and subsites under a site collection. But I am unable to get all the sites in the result by (contentclass:STS_Site OR contentclass:STS_Web) . If I search the site with the name, the result shows the site.
I went through various blog, but couldn't find the proper solution.