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

"Reindex all" process generates more indexations than needed when journal.articles.index.all.versions is set to false

    Details

      Description

      Steps to reproduce it:
      1- Modify the property journal.articles.index.all.versions to false in portlet.properties for journal-service module
      2- Startup the server
      3- Create a web content with 1000 versions
      4- Increase the log for com.liferay.portal.search.internal.SearchEngineInitializer to ALL.
      5- In control panel, server administration, resources click on reindex all.

      Results:
      More than just a few miliseconds of indexation time

      Expected results:
      Just a few milseconds of indexation time

        Attachments

        1. 6.2pass.jpg
          6.2pass.jpg
          35 kB
        2. 6.2reproduce.png
          6.2reproduce.png
          34 kB
        3. 7.0.pass.png
          7.0.pass.png
          15 kB
        4. 7.0reproduce.png
          7.0reproduce.png
          136 kB
        5. master22.png
          master22.png
          77 kB
        6. master26.png
          master26.png
          89 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 12 weeks ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP3
                  7.0.0 DXP SP1
                  Master