Search Result problem

Author Message

Bourelly Frederic

Thursday 25 January 2007 6:04:16 am

Hi ,

i have 2 questions:

1) When i use the search to find some objects/nodes, it only return the main node of the object. What must i do to say to eZ to return all nodes of my object which is searched?
I'll make a kernel hack (by deleting : ezcontentobject_tree.node_id = ezcontentobject_tree.main_node_id in the search query) in the file : ezsearchengine.php

2) Is it possible to "Re-Index" the "search tables" (ezsearch_word , ezsearch_object_word_link) ? Cause i see that when i create a new content, it automatically insert data in these tables, tables that i have truncate some mounths ago.

Thanx all for your replies.

Regards, Fred

Ɓukasz Serwatka

Thursday 25 January 2007 11:45:51 pm

Ad.1 )

Feel free to submit new enhancement in issue tracker.
http://ez.no/community/bugs

Ad.2 )
Yes. From eZ Publish root folder run CLI script:

$ php update/common/scripts/updatesearchindex.php --help

--help will tell you about parameters.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 22:14:48
Script start
Timing: Jan 18 2025 22:14:48
Module start 'layout'
Timing: Jan 18 2025 22:14:48
Module start 'content'
Timing: Jan 18 2025 22:14:49
Module end 'content'
Timing: Jan 18 2025 22:14:49
Script end

Main resources:

Total runtime0.8340 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 587.8906152.6094
Module start 'layout' 0.00500.0030 740.500039.4141
Module start 'content' 0.00790.8247 779.9141528.7734
Module end 'content' 0.83260.0013 1,308.68758.1875
Script end 0.8339  1,316.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3889160.0002
Check MTime0.00130.1575160.0001
Mysql Total
Database connection0.00070.081210.0007
Mysqli_queries0.789394.6370540.0146
Looping result0.00060.0660520.0000
Template Total0.804496.420.4022
Template load0.00220.259120.0011
Template processing0.802296.187920.4011
Template load and register function0.00020.023610.0002
states
state_id_array0.00070.089610.0007
state_identifier_array0.00070.083120.0003
Override
Cache load0.00180.2204190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.085320.0004
Fetch class attribute name0.00140.170330.0005
XML
Image XML parsing0.00090.105120.0004
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00120.1412180.0001
String conversion0.00000.001240.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
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs