I am trying to embed both ElasticSearch and Jackrabbit inside one
WebApp. Since ElasticSearch and Jackrabbit uses different lucene
versions we have a problem. I see that ElasticSearch are embedding
almost all depdencies by rewriting package names. But, lucene is not
embedded in this way. Is it a good reason why it is not?
> I am trying to embed both ElasticSearch and Jackrabbit inside one
> WebApp. Since ElasticSearch and Jackrabbit uses different lucene
> versions we have a problem. I see that ElasticSearch are embedding
> almost all depdencies by rewriting package names. But, lucene is not
> embedded in this way. Is it a good reason why it is not?
Thanks. But when I remove the jar dependencies of lucene jars, I get a
CLF exception. It seems that some lucene classes are not bundled when
starting a local node (with storage). In NodeEnvironment there are
dependencies to both org.apache.lucene.store.Lock and
org.apache.lucene.store.NativeFSLockFactory. Is this on purpose?
BR,
Sten Roger
On 1 Mai, 16:57, Shay Banon <kim...@gmail.com> wrote:
> Mainly because when using the TransportClient, there is no need for the
> Lucene jars.
> On Mon, Apr 30, 2012 at 3:51 PM, Sten Roger Sandvik <ste...@gmail.com>wrote:
> > Hi.
> > I am trying to embed both ElasticSearch and Jackrabbit inside one
> > WebApp. Since ElasticSearch and Jackrabbit uses different lucene
> > versions we have a problem. I see that ElasticSearch are embedding
> > almost all depdencies by rewriting package names. But, lucene is not
> > embedded in this way. Is it a good reason why it is not?
> Thanks. But when I remove the jar dependencies of lucene jars, I get a
> CLF exception. It seems that some lucene classes are not bundled when
> starting a local node (with storage). In NodeEnvironment there are
> dependencies to both org.apache.lucene.store.Lock and
> org.apache.lucene.store.NativeFSLockFactory. Is this on purpose?
> BR,
> Sten Roger
> On 1 Mai, 16:57, Shay Banon <kim...@gmail.com> wrote:
> > Mainly because when using the TransportClient, there is no need for the
> > Lucene jars.
> > On Mon, Apr 30, 2012 at 3:51 PM, Sten Roger Sandvik <ste...@gmail.com
> >wrote:
> > > Hi.
> > > I am trying to embed both ElasticSearch and Jackrabbit inside one
> > > WebApp. Since ElasticSearch and Jackrabbit uses different lucene
> > > versions we have a problem. I see that ElasticSearch are embedding
> > > almost all depdencies by rewriting package names. But, lucene is not
> > > embedded in this way. Is it a good reason why it is not?