-->
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 Search - Searching a term in manytomany collection
PostPosted: Mon May 17, 2010 8:21 am 
Newbie

Joined: Mon May 17, 2010 8:00 am
Posts: 2
When I search for some term that is in a collection, is returned only the objects that have just this term. But if the collection have mor than one object this don't work. Example.

A book have two authors and another book have only one author. Then when I looking for the book that have only one author like "author:Jack" this book is returned, but the book that have two authors and one author is Jack too and second author is Mike, this book is not returned.

Somebody can help me ?


Top
 Profile  
 
 Post subject: Re: Hibernate Search - Searching a term in manytomany collection
PostPosted: Tue May 18, 2010 3:25 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi guillerme,
sure we can help with you should post this to the Search forum, and describe how you're mapping your book/author and how you're searching for it.
Incindentally, searching for books is the most classic example and you'll find lots of examples about this in the unit tests (download the sources), or in the book.

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