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

Alex Parvulescu commented on OAK-438:
-------------------------------------

+1 for adding the lucene dependencies as {{test}} to oak-jcr

I was playing with the unit tests a bit and I got another weird missing class 
error:

{code}
java.lang.NoClassDefFoundError: org/apache/lucene/index/IndexableField
        at 
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexDiff.<init>(LuceneIndexDiff.java:67)
        at 
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexDiff.<init>(LuceneIndexDiff.java:85)
        at 
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexHookProvider.getIndexHooks(LuceneIndexHookProvider.java:46)
        at 
org.apache.jackrabbit.oak.plugins.index.CompositeIndexHookProvider.getIndexHooks(CompositeIndexHookProvider.java:67)
        at 
org.apache.jackrabbit.oak.plugins.index.IndexHookManagerDiff.<init>(IndexHookManagerDiff.java:157)
        at 
org.apache.jackrabbit.oak.plugins.index.IndexHookManagerDiff.<init>(IndexHookManagerDiff.java:180)
        at 
org.apache.jackrabbit.oak.plugins.index.IndexHookManager.processCommit(IndexHookManager.java:56)
        at 
org.apache.jackrabbit.oak.spi.commit.CompositeHook.processCommit(CompositeHook.java:59)
{code}
                
> Provide the lucene index as an osgi bundle
> ------------------------------------------
>
>                 Key: OAK-438
>                 URL: https://issues.apache.org/jira/browse/OAK-438
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-lucene
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>             Fix For: 0.6
>
>         Attachments: OAK-438.patch
>
>
> Given the fact that lucene does not provide osgi headers OOTB, we have to 
> embed the dependency into the oak-jcr bundle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to