-
☆ A M B ☆
- 24,524 Posts
The best way to exclude documents from a search is to edit the document itself and clear the "searchable" checkbox.
-
☆ A M B ☆
- 24,524 Posts
Looking at the snippet docs, I noticed a &filter parameter; the IDs (comma separated) you put in that parameter will be excluded from the search.
This would be useful if you have different sections to your site, and only want certain pages searched when using different snippet calls for the different sections. So in that case, using the document’s settings wouldn’t be useful.