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.

Was it helpful?

Solution

Just add IsDocument:1 to show only results that are documents.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top