[
https://issues.apache.org/jira/browse/OAK-8978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17070821#comment-17070821
]
Vikas Saurabh commented on OAK-8978:
------------------------------------
Iirc, facet results calculation was done once for a result set. It might be a
bug over there if it's still attempting to open index for each row.
> 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
>
> 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)