eZ Find count is significantly greater than the actual number of objects

Author Message

Jim Thaxton

Monday 02 November 2009 12:39:11 pm

For our eZ Find searches, the total number returned exceeds the total number of objects, usually by a factor of 3, for each search.

This is causing significant problems with our pagination. We get our 24 results per page just fine. There may be a total of 2400 results, which would equal 10 pages, but eZ Find send a total number of results back as more than 5000 so the last half of our pagination return empty pages.

This results in a poor user experience.

Is there something we can look into to sort this out?

--Jim

Web Developer
Coupon Cabin
Chicago, IL

Jim Thaxton

Tuesday 03 November 2009 3:38:06 pm

The Ez Find forum is back so this is now a duplicate. Sorry about that. Here is my original post:

http://share.ez.no/forums/extensions/ez-find/ez-find-numfound-exceeds-the-actual-number-of-results

Web Developer
Coupon Cabin
Chicago, IL

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:19:46
Script start
Timing: Jan 18 2025 02:19:46
Module start 'layout'
Timing: Jan 18 2025 02:19:46
Module start 'content'
Timing: Jan 18 2025 02:19:47
Module end 'content'
Timing: Jan 18 2025 02:19:47
Script end

Main resources:

Total runtime0.7499 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.4063152.6875
Module start 'layout' 0.00520.0035 741.093839.5234
Module start 'content' 0.00870.7399 780.6172450.6250
Module end 'content' 0.74860.0013 1,231.24228.0625
Script end 0.7499  1,239.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4568160.0002
Check MTime0.00140.1867160.0001
Mysql Total
Database connection0.00050.069910.0005
Mysqli_queries0.709194.5659520.0136
Looping result0.00050.0616500.0000
Template Total0.719996.020.3600
Template load0.00220.292720.0011
Template processing0.717795.707920.3589
Template load and register function0.00020.021710.0002
states
state_id_array0.00120.153910.0012
state_identifier_array0.00120.164720.0006
Override
Cache load0.00180.2383110.0002
Sytem overhead
Fetch class attribute can translate value0.00050.065610.0005
Fetch class attribute name0.00170.227120.0009
XML
Image XML parsing0.00010.014110.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00080.1021100.0001
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs