Kelvin Xu created OAK-8167:
------------------------------

             Summary: Facet count with statistical mode should cover the case 
where whole facet results are not accessible
                 Key: OAK-8167
                 URL: https://issues.apache.org/jira/browse/OAK-8167
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: indexing, lucene, query
    Affects Versions: 1.6.16
            Reporter: Kelvin Xu


With the statistical mode, facet count is updated proportionally to the 
percentage of accessible samples, which works for secured contents scattered 
across different facets. For edge case where the whole facet (results) is not 
accessible, the count still shows a number after the sampling percent is 
applied. Even if the number is small, user experience is misleading/inaccurate 
as nothing would return when the facet is clicked (applied as a query 
condition).

For example, a ACLs/CUGs guarded "private" folder, in which all the assets are 
tagged with the same facet value. Non authorized user may still see this facet 
with a count but gets nothing when clicking on the facet.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to