Monday 07 June 2010 8:05:09 am - 3 replies

» Read full tutorial

Introduction

Here is the first part of a series of tutorials about eZ Find. At the end of this series, you will have been exposed all details on how it works, and be able to make an advanced usage, in various context, of this enterprise-grade search plug-in. This series will serve as a base for a talk on the subject at the eZ Conference 2010, in Berlin. As well as the Libre Software meeting.

 
Author Message

H-Works Agency

Wednesday 14 July 2010 11:46:17 pm

Thank you for this article, very valuable.

Just a precision : how do you call from your ezfind template fetch attr_title_s or attr_title_t to avoid sentence explosions ?

EZP is Great

gilles guirand

Thursday 15 July 2010 11:52:17 pm

@Martin : "article/title", the "_s" or "_t" depends of the context (filtering, sorting, facetting...), and your settings

http://share.ez.no/tutorials/ez-publish/advanced-development-with-ez-find-part-1-datatypes-in-solr-and-ez-find/%28page%29/5

And for the settings :

http://share.ez.no/tutorials/ez-publish/advanced-development-with-ez-find-part-1-datatypes-in-solr-and-ez-find/%28page%29/6

But you also could use the Solr syntax, like explain in this article :

http://share.ez.no/tutorials/ez-publish/advanced-development-with-ez-find-part-3-leveraging-the-solr-syntax/%28page%29/2

--
Gilles Guirand
eZ Community Board Member
http://twitter.com/gandbox
http://www.gandbox.fr

Luca Realdi

Wednesday 09 February 2011 2:34:34 am

Hi Gilles!

Thank you for your great tutorials!!!

I think I discovered a small bug in your ezfSolrDocumentFieldObjectRelation class (http://projects.ez.no/ezfsolrdocumentfieldobjectrelation/) on line 256

What do you think?

$finalValue = $this->preProcessValue( $field->ContentObjectAttribute->metaData(),
                        parent::getClassAttributeType( $tmpClassAttribute ) ); 

//instead of
$finalValue = $this->preProcessValue( $field->ContentObjectAttribute->metaData(),
                        parent::getClassAttributeType( $contentClassAttribute ) );

You must be logged in to post messages in this topic!

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

Main resources:

Total runtime0.1625 sec
Peak memory usage4,096.0000 KB
Database Queries73

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 589.5078152.6875
Module start 'layout' 0.00930.0028 742.195339.5234
Module start 'content' 0.01220.1483 781.7188740.5781
Module end 'content' 0.16050.0019 1,522.296918.3984
Script end 0.1624  1,540.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00412.5278160.0003
Check MTime0.00150.9268160.0001
Mysql Total
Database connection0.00201.229710.0020
Mysqli_queries0.088154.2376730.0012
Looping result0.00080.4939710.0000
Template Total0.131380.820.0657
Template load0.00201.256120.0010
Template processing0.129379.554020.0646
Template load and register function0.00010.078810.0001
states
state_id_array0.00080.501720.0004
state_identifier_array0.00181.078430.0006
Override
Cache load0.00171.0571280.0001
Sytem overhead
Fetch class attribute name0.00201.232270.0003
Fetch class attribute can translate value0.00100.621630.0003
class_abstraction
Instantiating content class attribute0.00000.008170.0000
XML
Image XML parsing0.00171.068430.0006
General
dbfile0.00140.8725300.0000
String conversion0.00000.004840.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.tplforum_topic/full.tplextension/community_design/design/suncana/override/templates/forum_topic/full.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/separator.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltags/separator.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/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: 16
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs