0

I do not want my search API to search for the content.

_api/search/query?queryTemplate='"tax" '&selectproperties='RefinableString00'&refinementfilters='and (RefinableString107:("US%20Tax"),ListId:("-6e1f-42a9-ab38-f37912c8c303"),RefinableString104:("test"))'&trimduplicates=false&rowlimit=5000&sortlist='[docid]:ascending'

1 Answer 1

0

You can try following sample to exclude content:

https://your-sharepoint-site/_api/search/query?
    sourceid='your_source_id'&
    rowlimit='number_of_results'&
    selectproperties='Property1,Property2'&
    querytext='your_search_query'&
    enablequeryrules=false&
    enablephonetic=false&
    trimduplicates=false

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.