jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-7608) Throw exception if all properties name are given wrong for faceting
Date Sat, 03 Nov 2018 19:32:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-7608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vikas Saurabh updated OAK-7608:
-------------------------------
    Summary: Throw exception if all properties name are given wrong for faceting  (was: Throw
no exception if all properties name are given wrong for faceting)

> Throw exception if all properties name are given wrong for faceting
> -------------------------------------------------------------------
>
>                 Key: OAK-7608
>                 URL: https://issues.apache.org/jira/browse/OAK-7608
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene, query
>            Reporter: Ayush Garg
>            Priority: Major
>
> This can be treated as bug .
> When an Xpath query passed for faceting 
> Example: *"//*[jcr:contains(jc/@text, 'hello OR hallo')]/*
> *(rep:facet(text))/(rep:facet(test))/(rep:facet(name)) order by jcr:path"*
> if all properties name on which faceting is to done are wrong property name(i.e that
doesn't exists ) it doesn't throw Exception and return the result set.But if one or more is
correct and one or more is wrong property name it will throw exception 
> java.lang.RuntimeException: java.lang.IllegalArgumentException: invalid dim "Wrong_Property_Name".
>  
> QueryManager should same behavior when a wrong propery passed for faceting



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

Mime
View raw message