[
https://issues.apache.org/jira/browse/OAK-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller updated OAK-1999:
--------------------------------
Fix Version/s: 1.0.3
1.1
> Query engine is slow when using many "or" constraints
> -----------------------------------------------------
>
> Key: OAK-1999
> URL: https://issues.apache.org/jira/browse/OAK-1999
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: query
> Affects Versions: 1.0, 1.0.1, 1.0.2
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Fix For: 1.1, 1.0.3
>
>
> For queries with many (300 or so) "or" constraints of the form "x = 1 or x =
> 2 or x = 3", the query engine uses quite a lot of CPU time. According to
> profiling data, this is due to using "toString()" too often, and "Sets.union"
> (com.google.common.collect.Sets).
> The Oak 1.0 branch is affected most, not sure about trunk.
--
This message was sent by Atlassian JIRA
(v6.2#6252)