You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (Jira)" <ji...@apache.org> on 2020/02/04 13:14:00 UTC
[jira] [Commented] (OAK-8711) Queries with facets should not use
traversal
[ https://issues.apache.org/jira/browse/OAK-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029830#comment-17029830 ]
Thomas Mueller commented on OAK-8711:
-------------------------------------
See pull request https://github.com/apache/jackrabbit-oak/pull/174
> Queries with facets should not use traversal
> --------------------------------------------
>
> Key: OAK-8711
> URL: https://issues.apache.org/jira/browse/OAK-8711
> Project: Jackrabbit Oak
> Issue Type: Bug
> Reporter: Nitin Gupta
> Assignee: Nitin Gupta
> Priority: Major
> Labels: amrit
>
> Consider a scenario where a query is there with facets and the traversal cost is less than the index cost that serves the facet query . This would be problematic.
>
> In this case we should maybe set the traversal cost to infinity so that traversal is not an option for queries with facets.
>
> In case there is no index available to serve this faceted query we can probably throw an exception with a meaningful message .
--
This message was sent by Atlassian Jira
(v8.3.4#803005)