"string" string manipulations

Author Message

laurent le cadet

Wednesday 19 December 2007 10:12:01 am

Hi,

I'm not able to reproduce the word extraction between double quote.
Could someone point me the right direction to find the mechanism ?

Regards.

Laurent

Kåre Køhler Høvik

Friday 21 December 2007 1:21:05 am

Hi

I'm not sure I completely understand what you mean. Can you give an example ?

Kåre Høvik

laurent le cadet

Thursday 03 January 2008 5:47:41 am

Kåre,

I don't know how to reproduce the context (I remember there was something with the google navigator) of the search wich gave me the search: <b>"first" first word of the search text</b>

Anyway, the search engine extracted the first word of the search text to place it between double quote and repeated the complet search text.

It's very helpfull for searching "all" words because actually, the search engine just search for the exact content (in my case).

I hope this explanation (even if it's not really clear to me ;) gives you more elements.

In a larger approach, is there a document for search tricks and string manipulation?

Laurent

laurent le cadet

Thursday 03 January 2008 6:05:04 am

In addition, could we use thje wildcard feature to extend the search functionnalities?
Reindexing is needed?

Laurent

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

Main resources:

Total runtime0.5885 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 589.0781152.6250
Module start 'layout' 0.00740.0053 741.703139.4453
Module start 'content' 0.01270.5745 781.1484553.3906
Module end 'content' 0.58720.0012 1,334.539112.4688
Script end 0.5884  1,347.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5883160.0002
Check MTime0.00130.2205160.0001
Mysql Total
Database connection0.00080.133110.0008
Mysqli_queries0.524289.0859620.0085
Looping result0.00070.1241600.0000
Template Total0.541392.020.2706
Template load0.00210.358720.0011
Template processing0.539191.615120.2696
Template load and register function0.00010.017810.0001
states
state_id_array0.00170.281310.0017
state_identifier_array0.00090.152320.0004
Override
Cache load0.00180.3036270.0001
Sytem overhead
Fetch class attribute can translate value0.00080.143420.0004
Fetch class attribute name0.00090.158660.0002
XML
Image XML parsing0.00100.162720.0005
class_abstraction
Instantiating content class attribute0.00000.002980.0000
General
dbfile0.00140.2388210.0001
String conversion0.00000.002040.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/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
2content/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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs