We are using SharePoint 2013 search and we created a result source and have the following query:
((((MyCompanyAudienceTargetBy="Business Unit") AND ALL("{\User.PreferredBU.Name} {\User.PreferredCountry.Name};#")) OR ((MyCompanyAudienceTargetBy="Region") AND ALL("CT:{\User.PreferredCity.Name};#")) OR ((MyCompanyAudienceTargetBy="Business unit and Region") AND ALL("BU:{\User.PreferredBU.Name}-CT:{\User.PreferredCity.Name};#")) OR ((MyCompanyAudienceTargetBy:"Major City") AND ALL("{\User.PreferredCity.Name};#")) OR ((MyCompanyAudienceTargetBy:"Country") AND ALL("{\User.PreferredCountry.Name};#")) OR (MyCompanyAudienceTargetBy:"Everyone"))) AND (MyCompanyPeopleLeadersOnly=false OR (MyCompanyPeopleLeadersOnly={\User.MyCompanyPeopleLeader}) OR NOT(MyCompanyPeopleLeadersOnly=false OR MyCompanyPeopleLeadersOnly=true)) {SearchTerms}
I have used SharePoint 2013 Search Query tool: https://sp2013searchtool.codeplex.com/
and was able to see word documents in the result, thus I suspect is the query is the issue, but I don't see how the above query won't show any word documents in the search result.
(contentclass:STS_ListItem OR IsDocument:True)
. I would say you need to include that somewhere in your query.