Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.0 DXP FP70, 7.0.X, 7.1.10 DXP FP6, 7.1.X, Master
-
7.2.x, 7.1.x, 7.0.x
-
Committed
-
4
-
026 - Raichu
Description
If you set searchContext.setIncludeAttachments(true)
within postProcessSearchQuery(BooleanQuery, BooleanFilter, SearchContext) of your custom IndexerPostProcessor class, then DLFileEntries are not retrieved anymore by the search portlet.
Reproduction:
- Start Liferay
- Deploy the attached plugin (indexer.post.processor.include.attachment.jar) which uses searchContext.setIncludeAttachments(true);
- Add a new DLFileEntry
- Use the search portlet on the welcome page to search the newly created DLFileEntry
Result: DLFileEntry is not found
Expected: It should be found