Liferay 7.2 Search performance - double checking permissionsLiferay 7.2 Search performance - double checking permissionshttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1195907922024-03-29T11:27:35Z2024-03-29T11:27:35ZLiferay 7.2 Search performance - double checking permissionsDaniel Karwowskihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1195907912020-07-14T12:17:51Z2020-07-14T12:17:51ZI 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?<br />Or maybe You have an idea how to correctly set up a sliding window correctly to not fetch all data from the