Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Liferay 7.2 Search performance - double checking permissions
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.
Or maybe You have an idea how to correctly set up a sliding window correctly to not fetch all data from the index.
Community
Company
Feedback