0

How to query the SharePoint 2013 Search Service Application so that I will get results on the basis of field value in list?

Eg. If the value is Active, it should be shown in search, if not active the record or page should not be searchable.

1 Answer 1

0

That is not really how the indexer works. It indexes everything it has access to. One inexpensive approach would be to add a rule to the Result Sources that includes a Managed Property for your Active field like Active=1.

The problem is that if anyone "knows" search they can easily circumvent this approach. If you want to prevent the content from being indexed you will have to write a protocol handler so that the items are never indexed. THis is a much larger undertaking.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.