Dirk Rudolph created OAK-6676:
---------------------------------

             Summary: rep:facet doesn't work in combination with aliases in 
JCR-SQL2
                 Key: OAK-6676
                 URL: https://issues.apache.org/jira/browse/OAK-6676
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core
    Affects Versions: 1.6.1
            Reporter: Dirk Rudolph
            Priority: Minor


Within 
[SelectorImpl#createFilter()|http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/SelectorImpl.java?view=markup#l389]
 the columnName is used to determine wether to add a indicating restriction for 
facets or not. 

So using query like

{code}
select [rep:facet(tags)] as facets from ...
{code}

Will not contain facets.

Same applies for {{rep:excerpt}}.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to