You are creating an Enterprise Search web part. You need to ensure that the web part returns only results where the web part in is installed. You must achieve this goal by using the minimum amount of deployment effort.
What should you do?
A.
Parse a search results to filter by the URL of the web site
B.
Set the result type to ResultType.RevelentResults
C.
Set the query result type to ResultType.SpecialTermsResults
D.
Set the hidden constraint property of the query to be equal to the Scope context of the site