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 2024/11/08 12:30:00 UTC
[jira] [Created] (OAK-11260) Speed up Lucene cost estimation
Thomas Mueller created OAK-11260:
------------------------------------
Summary: Speed up Lucene cost estimation
Key: OAK-11260
URL: https://issues.apache.org/jira/browse/OAK-11260
Project: Jackrabbit Oak
Issue Type: Improvement
Components: lucene
Reporter: Thomas Mueller
Assignee: Thomas Mueller
Cost estimation for queries with many "union" parts is slow. With profiling, I found the bottleneck is:
{noformat}
at org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.isNodeType(ReadOnlyNodeTypeManager.java:322)
at org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.collectIndexRules(IndexDefinition.java:936)
at org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.<init>(IndexDefinition.java:446)
at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexDefinition.<init>(LuceneIndexDefinition.java:72)
at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexDefinition.<init>(LuceneIndexDefinition.java:68)
at org.apache.jackrabbit.oak.plugins.index.lucene.IndexTracker.getIndexDefinition(IndexTracker.java:303)
at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexLookupUtil.getOldFullTextIndexPath(LuceneIndexLookupUtil.java:48)
at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndex.getPlans(LuceneIndex.java:206)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)