-->
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.  [ 8 posts ] 
Author Message
 Post subject: Example of Lucene annotations in action
PostPosted: Tue Jul 11, 2006 3:16 pm 
Beginner
Beginner

Joined: Wed Apr 06, 2005 9:29 pm
Posts: 24
I have read the minimal docs for Lucene annotations. I don't know enough to
make the leap from the little I know about Lucene to be able to use the
Annotations effectively. Does anyone know of a complete example that uses
annotations. I have seen some stuff about Lucene integration in a
non-annotations world, but really just need to see them in action.

Thanks
John McPeek


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 12, 2006 3:24 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
Read 'Lucene in Action' book.
Using annotations then will be a trivial stuff.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 16, 2006 12:59 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Note that Hibernate Lucene is heavily enhanced nowadays, the docs will follow.
As Ales said, the annotations really should be trivial if you understand the notion of lucene indexing:
- can I store a property or not (ie available in the index for reading)
- can I index a property or not (ie should this property being indexed)
- what is the boost factor

The only difference with pure lucene indexing is the fact that you must mark the id property with @Keyword(id=true). Hibernate will use that property to uniquely map an entity to a Lucene document.

_________________
Emmanuel


Top
 Profile  
 
 Post subject: Plans for Ramdirectory Support?
PostPosted: Sun Aug 20, 2006 3:46 pm 
Newbie

Joined: Sun Aug 20, 2006 3:25 pm
Posts: 2
Are there plans for Ram Directory Support?

Also, can the index locations be controlled from a config file if needed?

I.e. a list of Entity Classes along with their index locations.

Thanks,

Dave


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 21, 2006 2:06 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Yup, both are in SVN already

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 21, 2006 1:12 pm 
Newbie

Joined: Sun Aug 20, 2006 3:25 pm
Posts: 2
What is SVN?

Can the Ramdirectory and FSDirectory be used at the same time? Are there any documents on this?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 12:10 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
it's the source repository
http://anonhibernate.labs.jboss.com/

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 12:23 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I hope I'll be able to work on the documentation in about 2 weeks

_________________
Emmanuel


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