ez.no search and nice urls

Author Message

Paul Forsyth

Wednesday 01 October 2003 4:17:57 am

I've noticed nice_urls are not operating on the search results at ez.no site since it was upgraded to 3.2.

I can see this will yield a unique node, which helps with forum entries. But we lose the nice url version of the link which i use regularly. A common example is simply finding documentation and posting in the forums. The links i now give can only point to a node.

Can the nice urls be restored for searching?

Paul

Alex Jones

Wednesday 01 October 2003 9:26:26 am

I'll second that as I often use the link paths to determine if a resource is vor 2.x or 3.x before taking the time to view the page.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Jan Borsodi

Thursday 02 October 2003 8:20:49 am

This is fixed now together with a performance problem in the search.
http://ez.no/developer/ez_publish_3/bug_reports/empty_search_causes_slowdown_of_site

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Paul Forsyth

Thursday 02 October 2003 8:47:13 am

Thanks Jan,

Now the nice urls work for me when searching.

About the slowdown. I didn't realise how big a problem it could be. The fix suggests that the problem was worked around by not letting an empty search take place.

Im concerned with situations like users searching can potentially slow down admins/editors publishing articles. There shouldn't be such a dependency like this.

Is there a better way to solve this? Does a temporary table really need to be created for searching? Could special permissions be used to prevent it locking (im no db expert....).

Paul

Alex Jones

Thursday 02 October 2003 10:02:50 am

Thanks Jan! We really appreciate the fast fix on this. :)

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 20:59:32
Script start
Timing: Jan 18 2025 20:59:32
Module start 'layout'
Timing: Jan 18 2025 20:59:32
Module start 'content'
Timing: Jan 18 2025 20:59:32
Module end 'content'
Timing: Jan 18 2025 20:59:32
Script end

Main resources:

Total runtime0.6381 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9141152.6250
Module start 'layout' 0.00510.0030 740.539139.4453
Module start 'content' 0.00810.6288 779.9844591.7891
Module end 'content' 0.63690.0012 1,371.773412.1641
Script end 0.6381  1,383.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4988160.0002
Check MTime0.00140.2249160.0001
Mysql Total
Database connection0.00050.081310.0005
Mysqli_queries0.589092.3009650.0091
Looping result0.00050.0727630.0000
Template Total0.610395.620.3051
Template load0.00220.352620.0011
Template processing0.608095.284920.3040
Template load and register function0.00010.018810.0001
states
state_id_array0.00080.121010.0008
state_identifier_array0.00070.104420.0003
Override
Cache load0.00190.2994260.0001
Sytem overhead
Fetch class attribute can translate value0.00050.072130.0002
Fetch class attribute name0.00080.128670.0001
XML
Image XML parsing0.00080.129630.0003
class_abstraction
Instantiating content class attribute0.00000.001980.0000
General
dbfile0.00250.3909230.0001
String conversion0.00000.001140.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs