-->
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: Total Results Larger than Actual Results for Pagination
PostPosted: Mon Nov 26, 2007 4:45 pm 
Beginner
Beginner

Joined: Tue Nov 29, 2005 4:42 pm
Posts: 49
Location: Atlanta, GA
I see this quite frequently where my total number of hits is larger than the actual number of objects returned by Hibernate Search. I know the docs say this is approximate, but they example they give are asynchronous clustering which I'm not using. I'm using pretty standard out of the box operation. Why would I see this discrepency? How can I debug it or see why there's a problem? I've tried to reindex my DB in order to correct the problem, but that doesn't seem to help.

Ideas?

Charlie


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 26, 2007 5:32 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Which version are you using? Are you using setMaxResult?
Can you paste the code creating and executing the query?

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