Forum Discussion
Modern Pages - Highlighted content not filtering search results for pages in other site collections
Clearly a bug in the code which generates the KQL filter. It's a logical error where the code is not adding () around the content type id filter, messing up interpretation of AND and OR in the final query. So a proper boolean error. Should be reported.
I've reported it so we'll see what happens.
- Mikael SvensonJan 16, 2017Steel Contributor
Thanks to Elsa Naumann who noticed the issue with () and contenttypeid has been fixed. Guess stuff happens in the dark :-D
The query is however not optimized adding unneeded OR's - but who cares right? :)
- John_SandersJan 19, 2017Microsoft
Thanks for reporting this issue; it is now resolved.
(I opened a bug internally when it was reported, and forgot to reply here it seems.)
Thank you!
- Mikael SvensonFeb 22, 2017Steel Contributor
Hi John_Sanders, any chance you can turn off near duplicate trimming in the highlight web part is well? Either change the default behavior or give us an option.
The near duplicate trimming in SP search is just not a good thing- and seems to ignore Title all together for modern pages at least. Create multiple articles as modern pages, give them unique titles but write the same content in all, and only one will roll up.
Again, thanks to Elsa Naumann for bringing this to my attention :)