Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7975

Facet extraction fails while requesting multiple facets and one of the requested facets doesn't have indexed values

    XMLWordPrintableJSON

Details

    Description

      Consider a content like

      + /test
         - foo=bar
      

      with index def faceting multiple properties - something like

      + /oak:index/foo/indexRules/nt:base/properties
         + foo
            - propertyIndex=true
            - facets = true
          + bar
            - facets = true
      

      Then a query like

      SELECT [rep:facet(foo)], [rep:facete(bar)] FROM [nt:base]
      

      should not fail.

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

      Attachments

        Activity

          People

            catholicon Vikas Saurabh
            catholicon Vikas Saurabh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: