Forum Discussion
Modern Pages - Highlighted content not filtering search results for pages in other site collections
Hi Elsa Naumann,
How do you do a not contains? The sdtandard filter options don't have this.
I'm assuming that you are using a Maneged property filter here and then select "Doesn't contain" filter. This would now use the search engines managed properties. Yoju will find the same sisues as with search web parts. The problem might not be the web part.
Could you try on a traditional team site to use a search results web part?
In the past I've seeen issues with title fields.
I would recommend yusing one of the RefinableStringXX properties instead.
You are absolutely right, there is no not contains, but by defining what the title should contain, the titles that do not contain those words should be automatically excluded by definition :)
The filter I have used is Title includes the words equals <Word>. If the scope is This site the filter works perfectly on the pages (excluding all pages without the word in the filter). My issue is that this filter does not appear to work when the scope is All sites.
PS My bad for using "contains", it's actually "includes" in the standard filter option.
- Jan 03, 2017
Ok, I'm getting a similar behaviour. You should probably try using the RefinableString Managed Properties and see if that works better for you.
- Elsa NaumannJan 03, 2017Brass Contributor
Thank you! I'll give that a whirl, but it would be so great if this just works, as it works so well with the This site scope :)
- Jan 03, 2017
These web parts are still very much early release. The limitations and broken fucntionality is quite annoying indeed.