Hi,
I am using keyword query to get community sites using querytext as "WebTemplate:Community Path:/Communities/" where communities is the site collection URL.
If I use the same query in content by search web part, I get all the result and which is higher than number I get when I execute query programatically. I am using same account to see the results so it should not be related to permissions. Also I have site collection admin permission.
Is there anything I am mising?