[ https://issues.apache.org/jira/browse/OAK-8978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071874#comment-17071874 ]
Mohit Kataria edited comment on OAK-8978 at 3/31/20, 4:29 PM: -------------------------------------------------------------- trunk commit revision: [http://svn.apache.org/viewvc?view=revision&revision=1875940] [http://svn.apache.org/viewvc?view=revision&revision=1875948] 1.22 commit revision: [http://svn.apache.org/viewvc?view=revision&revision=1875945] [http://svn.apache.org/viewvc?view=revision&revision=1875950] CC: [~thomasm] was (Author: mkataria): trunk commit revision: [http://svn.apache.org/viewvc?view=revision&revision=1875940] 1.22 commit revision: [http://svn.apache.org/viewvc?view=revision&revision=1875945] CC: [~thomasm] > Cache facet results > ------------------- > > Key: OAK-8978 > URL: https://issues.apache.org/jira/browse/OAK-8978 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: indexing > Reporter: Thomas Mueller > Assignee: Thomas Mueller > Priority: Major > Fix For: 1.22.3, 1.28.0 > > Attachments: OAK-8978-2.patch > > > In OAK-8898, the "AlreadyClosedException" was fixed when reading facet > results. > If the facets are read repeatedly (for each row), then the reader is now > opened and closed each time. This can slow down the application. > It should be possible to cache the facet result in DelayedLuceneFacetProvider -- This message was sent by Atlassian Jira (v8.3.4#803005)