[ https://issues.apache.org/jira/browse/OAK-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800386#comment-16800386 ]
Nitin Gupta edited comment on OAK-8138 at 3/25/19 3:57 AM: ----------------------------------------------------------- [~tmueller] , [~catholicon] - here's the updated patch - [^OAK-8138_1.patch] ^Instead of passing the hitCount from to FacetHelper#getFacets , I have now handled this in StatisticalSortedSetDocValuesFacetCounts#getTopChildren0 . Can you please have a look and merge the patch if you think no further changes are required ?^ was (Author: nitigup): [~tmueller] , [~catholicon] - here's the updated patch - [^OAK-8138_1.patch] ^Instead of passing the hitCount from to FacetHelper#getFacets , I have now handled this in StatisticalSortedSetDocValuesFacetCounts#getTopChildren0 . Can you please have a look and merge the patch if no further changes are required ?^ > In cases where search hit count is less than sample size defined for > statistical mode for facets, secure mode should be used so that the counts > are accurate for non-admin users. > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: OAK-8138 > URL: https://issues.apache.org/jira/browse/OAK-8138 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: query, search > Reporter: Nitin Gupta > Priority: Major > Attachments: OAK-8138_1.patch > > > In cases where search hit count is less than sample size defined for > statistical mode for facets, secure mode should be used so that the counts > are accurate for non-admin users. > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)