Search - not all possible results are returned (even none)

Author Message

Marin Orlic

Thursday 11 August 2005 3:33:51 pm

I'm working on eZ 3.7 (because of php 4.4), and it doesn't return all possible results from the database when searching (even as admin user).

For instance, when searching for a term 'xyz' in the db:

mysql> select * from ezsearch_word where word like 'xyz';
+--------+--------------+----------+
| id | object_count | word |
+--------+--------------+----------+
| 573271 | 17 | xyz |
| 570824 | 16 | XYZ |
| 526672 | 24 | Xyz |
+--------+--------------+----------+

(same thing for "word = 'xyz'")

eZ shows no results.. For some other search terms, only partial results are shown.

Search index was updated using eZ 3.7 updatesearchindex.php script on PHP 4.4.0 and also with eZ 3.6.1 script on PHP 4.3.11 (CLI).

A mirror of the system built on eZ 3.6.1 works fine hosted on PHP 4.3.1 and returns a lot of results (cannot check if everything is returned).

I'm aware that 3.7.x is considered alpha, but we're forced to use it because of PHP 4.4.0 used on ISP's machines.

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 21:17:26
Script start
Timing: Jan 18 2025 21:17:26
Module start 'layout'
Timing: Jan 18 2025 21:17:26
Module start 'content'
Timing: Jan 18 2025 21:17:27
Module end 'content'
Timing: Jan 18 2025 21:17:27
Script end

Main resources:

Total runtime0.7284 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.2891152.6563
Module start 'layout' 0.00490.0024 741.945339.4922
Module start 'content' 0.00730.7197 781.4375402.2734
Module end 'content' 0.72700.0014 1,183.71098.1094
Script end 0.7283  1,191.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4201160.0002
Check MTime0.00130.1810160.0001
Mysql Total
Database connection0.00080.113610.0008
Mysqli_queries0.693995.2678460.0151
Looping result0.00030.0466440.0000
Template Total0.704896.820.3524
Template load0.00200.274920.0010
Template processing0.702896.483820.3514
Template load and register function0.00020.025010.0002
states
state_id_array0.00070.093210.0007
state_identifier_array0.00090.121520.0004
Override
Cache load0.00160.2180180.0001
Sytem overhead
Fetch class attribute can translate value0.00060.083710.0006
Fetch class attribute name0.00040.059410.0004
XML
Image XML parsing0.00010.013310.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00060.0862100.0001
String conversion0.00000.000840.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
1content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 5

Time used to render debug report: 0.0001 secs