-->
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.  [ 2 posts ] 
Author Message
 Post subject: Need help Integrating Lucene with hibernate
PostPosted: Sat Dec 23, 2006 7:39 am 
Newbie

Joined: Sat Dec 23, 2006 7:20 am
Posts: 1
Hi,

I am new to hibernate Annotations and Lucene. I downloaded the hibernate-annotations-3.2.1.GA, and am now trying to setup the initial index for an entity. The pdf for Annotations tutorial refers to the following:

for (Customer customer : customers) {
fullTextSession.index(customer);
}
tx.commit();

I could not understand how to index the entity bean customer?

Also, if there is any complete example of how to integrate Lucene with Hibernate annotations, that would be great.

thanks and regards
Sam


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 27, 2006 10:54 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I don't really understand your question, but you can find "live" examples in the unit test suite
http://fisheye.jboss.org/browse/Hibernate/branches/Branch_3_2/HibernateExt/metadata/src/test/org/hibernate/search/test

I expect to write a tutorial at some point.

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.