The content search web part is not showing the results in the page, however I see the results when I test the query:

(IsDocument:"True") Path:{SiteCollection.URL} NOT FileExtension:aspx NOT FileExtension:one 

Am I missing something?

  • Does the webpart show any display template error? – Unnie Jul 8 '15 at 16:30
  • No, any error in the webpart just not displaying the results – yngrdyn Jul 8 '15 at 16:32
  • FileExtension:one . What is this for? What documents are you trying to exclude – Unnie Jul 8 '15 at 16:34
  • Extension one is trying to remove the oneNote files but That's not the problem, if i remove that part of the query still doesn't work. – yngrdyn Jul 8 '15 at 16:38
  • Try this . (IsDocument:"True") AND Path:{SiteCollection.URL} AND -FileExtension:aspx AND -FileExtension:one – Unnie Jul 8 '15 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.