-->
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: Hibernate Annotations and Lucene sorting
PostPosted: Tue Feb 06, 2007 2:33 pm 
Newbie

Joined: Wed Sep 22, 2004 10:20 am
Posts: 5
Location: Romania
Annotations for Lucene work really nice except for one thing. I cannot seem to be able to pass a Lucene Sorter to be used when doing any search.

Code:
FullTextSession fullTextSession = Search.createFullTextSession(getSession());
Query hibQuery = fullTextSession.createFullTextQuery(query, searchedClass);


Surely pagination and other features provided by Hibernate integration gives good results handling but without ability to sort directly in Lucene a lot is lost.

Is there another way to do this?

Thanks,
Ioan


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 10, 2007 2:03 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Hi Ioan,
That's a good idea.
I would appreciate if you could describe your usecase and your ideas about the feature here
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-4

_________________
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.