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

Tommaso Teofili commented on OAK-1442:
--------------------------------------

sure it'd be better if we can reuse something that already exists and works; I 
already tried ServiceMix stuff before opening this one. The issue I had is that 
a solr-core bundle doesn't exist, only the Java APIs exist there (solr-solrj) 
and also using some APIs require the bundle org.noggit:noggit (a former Apache 
Lab project for JSON serialization) which I could not find anywhere therefore 
either we bundle everything together for full-text search or create wrapping 
bundles.

Bundling oak-lucene and oak-solr-* together (e.g. in oak-fulltext) would give 
the advantage of avoiding having to rebundle and distribute Lucene / Solr 
bundles (which is a bit tricky), on the other hand it'd provide everything also 
to users wanting to just use one of the two index providers.

One third option would be to merge all the oak-solr-* bundles in one bundle, 
embed Lucene and Solr there so that oak-lucene will embed (but not export) 
lucene-* artifacts it needs and oak-solr would embed (but not export) all 
lucene-* plus solr-core, solr-solrj.

> Let oak-lucene export its embedded Lucene dependencies
> ------------------------------------------------------
>
>                 Key: OAK-1442
>                 URL: https://issues.apache.org/jira/browse/OAK-1442
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-lucene
>    Affects Versions: 0.16
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>             Fix For: 0.17.1
>
>         Attachments: OAK-1442.patch
>
>
> Oak Lucene module embeds lucene-core and lucene-analyzers-common as they are 
> not available as OSGi ready packages (see LUCENE-3167) therefore it would be 
> useful to have such dependencies exposed (via <_exportcontents> directive) so 
> that they can be used by Oak Solr module in OSGi deployments.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to