Vikas Saurabh created OAK-7975:
----------------------------------

             Summary: Facet extraction fails while requesting multiple facets 
and one of the requested facets doesn't have indexed values
                 Key: OAK-7975
                 URL: https://issues.apache.org/jira/browse/OAK-7975
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Vikas Saurabh
            Assignee: Vikas Saurabh


Consider a content like
{noformat}
+ /test
   - foo=bar
{noformat}
with index def faceting multiple properties - something like
{noformat}
+ /oak:index/foo/indexRules/nt:base/properties
   + foo
      - propertyIndex=true
      - facets = true
    + bar
      - facets = true
{noformat}

Then a  query like
{noformat}
SELECT [rep:facet(foo)], [rep:facete(bar)] FROM [nt:base]
{noformat}
should not fail.

Note that the failure requires requesting on multiple facets and one of them 
must not have any indexed value.



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

Reply via email to