moreLikeThis

Author Message

Fredrik Ardmar

Saturday 08 August 2009 10:19:58 am

Hi

Has anyone got the moreLikeThis function to return data?

Since the documentation for this function is not really detailed it would be great if someone have an example that works.

Thanks in advance

Fredrik

http://www.areadigital.org

Custom google maps with eZ Publish

http://www.meresverige.dk
http://dsbfirst.meresverige.dk

Piotrek Karaś

Thursday 24 September 2009 12:18:19 am

Hi there,

Just in the middle of trying to make it work with eZ Publish 4.1.3 and eZFind 2.0, so far no success on my dev machine, however it seems to work fine on another... Plus, eZFind search as such does work fine...

I did dig into the code a little bit, there seems to be a problem with oid query type, but that's it...

Hope someone else can share their experiences...

Cheers,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Piotrek Karaś

Thursday 24 September 2009 11:28:13 am

Ok, got it running. Nothing special was necessary, the node query type works fine for me. I guess my problem was that I wasn't paying attention to the result array which provides much detail on how the query went, for example tells whether there was an error or not and also distinguishes between empty searchResult and invalid searchResult. The reason I didn't get the results was possibly related to very little content and heuristic method used.

Anyway, seems to be working fine.

Now working on thesaurus and flection integration ;)

Good luck,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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 05:03:23
Script start
Timing: Jan 18 2025 05:03:23
Module start 'layout'
Timing: Jan 18 2025 05:03:23
Module start 'content'
Timing: Jan 18 2025 05:03:23
Module end 'content'
Timing: Jan 18 2025 05:03:23
Script end

Main resources:

Total runtime0.5961 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0179 587.9141152.6094
Module start 'layout' 0.01790.0136 740.523439.4141
Module start 'content' 0.03150.5631 779.9375549.0078
Module end 'content' 0.59460.0014 1,328.945312.1875
Script end 0.5961  1,341.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5651160.0002
Check MTime0.00130.2210160.0001
Mysql Total
Database connection0.00070.117910.0007
Mysqli_queries0.525488.1425590.0089
Looping result0.00050.0806570.0000
Template Total0.535989.920.2679
Template load0.00200.330720.0010
Template processing0.533989.555920.2669
Template load and register function0.00010.019010.0001
states
state_id_array0.00090.151810.0009
state_identifier_array0.00120.194320.0006
Override
Cache load0.00160.2731240.0001
Sytem overhead
Fetch class attribute can translate value0.00080.141920.0004
Fetch class attribute name0.00100.173950.0002
XML
Image XML parsing0.00100.165920.0005
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00320.5334230.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
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
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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs