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

Search performance - double checking permissions

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.2.1 CE GA2
    • Fix Version/s: None
    • Component/s: Web Search
    • Labels:

      Description

      This issue has been reported on forum -> https://liferay.dev/forums/-/message_boards/message/119590791

      "I have a portal with thousands of articles and I noticed problems with search performance for loading last pages. I've investigated the problem by logging search queries and in logs, I see that search is performing a lot of queries in batches. I found that the reason for that is double permission checking, first one by applying elasticsearch query filters and the second one by performing a permission checker on every article retrieved from elasticsearch. I've tried to play with DefaultSearchResultPermissionFilterConfiguration but I end up with no performance improvement.Is it possible to disable / fix sliding window search, and keep only permission checking on a query without this sliding window search?
      Or maybe You have an idea how to correctly set up a sliding window correctly to not fetch all data from the index."

      Expected result
      Fix double checking permissions or improve performance in other way

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              marcin.p90 Marcin Pawluk
              Participants of an Issue:
              Recent user:
              Tibor Lipusz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                1 year, 26 weeks, 3 days ago

                  Packages

                  Version Package