jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-7947) Lazy loading of Lucene index files startup
Date Wed, 02 Jan 2019 10:18:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-7947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731912#comment-16731912
] 

Julian Reschke commented on OAK-7947:
-------------------------------------

Test failure:

 {noformat}
[ERROR] Failures:
[ERROR]   LucenePropertyIndexTest.reindexWithCOWWithoutIndexPath:2497
[ERROR]   SynchronousPropertyIndexTest.nodeTypeIndexing:445
Expected: a string containing "/oak:index/foo"
     but: was "[oak:TestSuperType] as [oak:TestSuperType] /* nodeType Filter(query=explain
select * from [oak:TestSuperType], path=*) */"
[ERROR]   SynchronousPropertyIndexTest.nodeType_mixins:465
Expected: a string containing "/oak:index/foo"
     but: was "[oak:TestMixA] as [oak:TestMixA] /* nodeType Filter(query=explain select *
from [oak:TestMixA], path=*) */"
[ERROR]   SynchronousPropertyIndexTest.nonRootIndex:369->AbstractQueryTest.assertQuery:288->AbstractQueryTest.assertQuery:310->AbstractQueryTest.assertQuery:316->AbstractQueryTest.assertResult:323
Expected path /content/a not found, got []
[ERROR]   SynchronousPropertyIndexTest.nonUniqueIndex:271->AbstractQueryTest.assertQuery:288->AbstractQueryTest.assertQuery:310->AbstractQueryTest.assertQuery:316->AbstractQueryTest.assertResult:323
Expected path /a not found, got []
[ERROR]   SynchronousPropertyIndexTest.queryPlan:330
Expected: a string containing "sync:(foo[jcr:content/foo] bar)"
     but: was "[nt:base] as [nt:base] /* no-index
  where [nt:base].[jcr:content/foo] = 'bar' */"
[ERROR]   SynchronousPropertyIndexTest.relativePropertyTransform:349->AbstractQueryTest.assertQuery:288->AbstractQueryTest.assertQuery:310->AbstractQueryTest.assertQuery:316->AbstractQueryTest.assertResult:323
Expected path /a not found, got []
[INFO]
[ERROR] Tests run: 858, Failures: 7, Errors: 0, Skipped: 19

 {noformat}

Reverting change for now.

> Lazy loading of Lucene index files startup
> ------------------------------------------
>
>                 Key: OAK-7947
>                 URL: https://issues.apache.org/jira/browse/OAK-7947
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene, query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>         Attachments: OAK-7947.patch, OAK-7947_v2.patch, OAK-7947_v3.patch, lucene-index-open-access.zip
>
>
> Right now, all Lucene index binaries are loaded on startup (I think when the first query
is run, to do cost calculation). This is a performance problem if the index files are large,
and need to be downloaded from the data store.



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

Mime
View raw message