Search problem

Author Message

justin kazadi

Monday 08 June 2009 11:21:08 am

Hi,
i have an problem with the search. i don't understand why for example:

my problem is that for the first time when i make an search on a word for example " article " , the second search for example " take " .

the second search look the word "article " but not " take" .

i think it is related to the cache but i don't know how to solve it.

any suggestion?

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Jean-Yves Zinsou

Tuesday 09 June 2009 1:11:23 am

Hi justin,

where is your search field ? Is it on the advanced search or in a search box somewhere else ?

Advanced search dont use cache of anykind except if you use cache blocks on your design, but if your search field is somewhere else, maybe it is in a cache block messing your search results...

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

justin kazadi

Tuesday 09 June 2009 5:35:43 am

Thanks for your answer . i have solve this problem. i have forgotten to close one {cache-block} in my pagelayout.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

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 11:08:10
Script start
Timing: Jan 18 2025 11:08:10
Module start 'layout'
Timing: Jan 18 2025 11:08:10
Module start 'content'
Timing: Jan 18 2025 11:08:11
Module end 'content'
Timing: Jan 18 2025 11:08:11
Script end

Main resources:

Total runtime0.7995 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 587.7891152.6094
Module start 'layout' 0.00570.0032 740.398439.4063
Module start 'content' 0.00890.7890 779.8047536.0781
Module end 'content' 0.79790.0015 1,315.882812.2031
Script end 0.7994  1,328.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5083160.0003
Check MTime0.00180.2266160.0001
Mysql Total
Database connection0.00070.090510.0007
Mysqli_queries0.749293.7115570.0131
Looping result0.00060.0695550.0000
Template Total0.760095.120.3800
Template load0.00240.302220.0012
Template processing0.757594.756120.3788
Template load and register function0.00010.013110.0001
states
state_id_array0.00180.221810.0018
state_identifier_array0.00100.125920.0005
Override
Cache load0.00210.2582180.0001
Sytem overhead
Fetch class attribute can translate value0.00060.072020.0003
Fetch class attribute name0.00090.117850.0002
XML
Image XML parsing0.00110.141120.0006
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00110.1394220.0001
String conversion0.00000.001040.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0004 secs