-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Hibernate Search : missing solr dependency in maven POM file
PostPosted: Wed Aug 20, 2008 1:02 pm 
Newbie

Joined: Wed Jul 23, 2008 9:27 am
Posts: 7
Hello,

As one told me hibernate-search maven support should be considered as an Alpha version.
So as I am using maven and hibernate-search 3.1.0Beta1 and trying to make it work I'd like to point out that this dependency is apparently missing :

<dependency><!-- Is missing in hibernate-search 3.1.0.Beta1's pom -->
<groupId>org.hibernate.apache.lucene.solr</groupId>
<artifactId>apache-solr-analyzer</artifactId>
<version>1.2.0</version>
</dependency>

If I don't include this dependency in my Maven POM I get the following error :

java.lang.NoClassDefFoundError: org/apache/solr/analysis/TokenizerChain

So if it can help...

Marc.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 20, 2008 5:46 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
thank you very much, I also would like to use it by maven but still didn't find the time to learn it. Real hibernate developers have other priorities I think... maybe you could contribute on it?
Would you like to repost your words to the hibernate developer's list at hibernate-dev@lists.jboss.org ?
I think you'll get more attention there, also some discussion should arise about it as solr isn't really a dependency but an optional dependency, depending on what you actually use of Search. I personally have no idea how this concept could be modeled in pom's.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 21, 2008 4:33 am 
Newbie

Joined: Wed Jul 23, 2008 9:27 am
Posts: 7
Hello,

Sure I'll do it right now.

Marc.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 27, 2008 9:24 am 
Newbie

Joined: Wed Jul 23, 2008 9:27 am
Posts: 7
Hello,

Just FYI, I'm posting here Hardy's reply (hibernate-dev mailing-list) :

there was a bug in the code - http://opensource.atlassian.com/project ... SEARCH-247.
It should have been optional. The bug is fixed in the next release it should be ok not to include the
solr dependecy.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 28, 2008 4:35 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
thank you!

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.