If one of you kind souls could give me syntax for a KQL string that will exclude pages/URLs from results, I would be much obliged, as I am somewhat newbiish at this… When I do a keyword search SP is returning the documents tagged with the keyword as well as the pages containing them, I am trying to eliminate that behavior. Thanks in advance!!
What we want to find out is what level to add these rules in. You could make these rules (inclusion or exclusion) all the way to the farm level and down the page level.
Are you wanting to this only on one site? Do you want this to happen when someone uses the “Search this site” option on the site, uses a “Search Center” or uses a custom page in which you added a Search box?
If you only want to show documents you could do inclusion by using an example like this:
(FileExtension:doc OR FileExtension:docx OR FileExtension:xls OR FileExtension:xlsx OR FileExtension:ppt OR FileExtension:pptx OR FileExtension:pdf) (IsDocument:”True” OR contentclass:”STS_ListItem”)