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 2018/11/16 11:57:00 UTC
[jira] [Assigned] (OAK-7897) Queries with OR simplified to IN
shouldn't have alternative UNION query
[ https://issues.apache.org/jira/browse/OAK-7897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller reassigned OAK-7897:
-----------------------------------
Assignee: Thomas Mueller (was: Vikas Saurabh)
> Queries with OR simplified to IN shouldn't have alternative UNION query
> -----------------------------------------------------------------------
>
> Key: OAK-7897
> URL: https://issues.apache.org/jira/browse/OAK-7897
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: lucene
> Reporter: Vikas Saurabh
> Assignee: Thomas Mueller
> Priority: Minor
>
> Queries like {noformat} SELECT [rep:facet(text)] FROM [nt:base] WHERE [name] = 'Node1' OR [name] = 'Node2' {noformat} which would get simplified to {{IN}} clause still weigh in cost of alternative query with {{UNION}}. We should avoid that.
> /cc [~tmueller]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)