Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-87555

DLFileEntry results are not retrieved when using searchContext.setIncludeAttachments(true)

    Details

      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:

      1. Start Liferay
      2. Deploy the attached plugin (indexer.post.processor.include.attachment.jar) which uses searchContext.setIncludeAttachments(true);
      3. Add a new DLFileEntry
      4. Use the search portlet on the welcome page to search the newly created DLFileEntry

      Result: DLFileEntry is not found
      Expected: It should be found

        Attachments

          Activity

            People

            • Assignee:
              yvonne.han Yvonne Han
              Reporter:
              istvan.sajtos Istvan Sajtos
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                25 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP84
                7.0.X
                7.1.10 DXP FP13
                7.1.X
                7.2.X