Affects Version/s: 7.0.2 CE GA3, 7.0.0 DXP FP13, 7.0.X EE, Master
Some kind of assets (Blogs, Wiki, ...) can handle attachments. These files are stored inside a PortletRepository that is an hidden folder inside DocumentStore.
These files are indexed as part of the main asset and are marked as "hidden: true" or "visible: false" inside the index.
In 6.2 DLFileEntryIndexer.postProcessContextQuery() hidden Term is always managed.
In 7.0/DXP DLFileEntryIndexer.postProcessContextBooleanFilter() hidden Term is managed in the wrong way.
To test it:
- start a clean 7.0 GA3 bundle
- add a blogs entry with a basic title and content (es: hello) and an image (in my scenario I've added an image named oscar.png)
- using the search portlet embedded in the page (near navigation) search "oscar"
- oscar.png appears as a Document result. And this is wrong because the images is indexed as "hidden: true"