Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Optimize FTS search performance #26
FtsServiceBean.makeSearchResult uses the DataManager for reloading each entity of the Lucene search result. This is done to check security constraints. A new query in a new transaction is executed for each entity. We can execute query not for the single, but for the batch of entities.
Original issue: https://youtrack.haulmont.com/issue/PL-10748