I'm trying to fetch all results by content type. I'm testing this by using this query in search on a site:
With this kind of query I'm able to get almost all results, but I seem to be missing two results. One of the results that are missing in the query above I'm able to fetch by specifying the query even more:
contentTypeId:0x00000000000000000000* path:https://test.sharepoint.com/sites/test-site title:dog*
Let's say the missing results title was Dog Owners. By making the query like this I'm able to get that result, but this is of course not how I want to do it since I need all results with the same content type in one query.
I'm not sure what I'm doing wrong here. If I change the the query to
title:* the problem is the same. Not getting the Dog Owners results.