-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 DXP FP70, 7.0.X, 7.1.10 DXP FP6, 7.1.X, Master
-
Fix Version/s: 7.0.0 DXP FP84, 7.0.10.12 DXP SP12, 7.0.X, 7.1.10 DXP FP13, 7.1.X, 7.2.X
-
Component/s: Documents & Media
-
Branch Version/s:7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Sprint:026 - Raichu
-
Git Pull Request:
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