Search only document libraries using KeywordQuery
-
07-12-2019 - |
Question
Is it possible using KeywordQuery to pull back all (only) records that are documents in document libraries? Wondering if there is a KeywordQuery.QueryText property I can use for this type of thing.
Solution
Just add IsDocument:1
to show only results that are documents.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange