[ 
https://issues.apache.org/jira/browse/OAK-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17787939#comment-17787939
 ] 

Thomas Mueller commented on OAK-10549:
--------------------------------------

To avoid OOME when running the tests, I changed the test case to use only 10 
facets:

https://github.com/apache/jackrabbit-oak/commit/79ac7fd718b1abb495635cec38f9887a4a2b9219

With 200 facets, the test required 190 MB (-mx190m); with 10 facets, only 25 MB.

> Improve performance of facet count at scale (Lucene)
> ----------------------------------------------------
>
>                 Key: OAK-10549
>                 URL: https://issues.apache.org/jira/browse/OAK-10549
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene, query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>             Fix For: 1.60.0
>
>
> Currently, reading many facets (eg. 20) at a time is quite slow when using a 
> Lucene index. We already cache the data, but performance is not all that 
> great. One of the reasons is that we run one Lucene query per facet column. 
> It is possible to speed this up, using eager facet caching.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to