ezfind objectrelationlist (pls move to ezfind dir)

Author Message

andre müller

Monday 03 January 2011 5:49:49 am

hi

i have a book class that has a classattribute of type objectrelationlist listing authors of that book.
adding an author facet on my book search page i get a loong list of keywords. i assume thats because i don't specify what attribute of the author class should appear in my facet list..but using 'book/author/lastname doesn't change a thing. gilles guirands extension did the job but on ezp 4.4 the indexing doesn't work properly with that extension..

thanks for a hint..

gilles guirand

Monday 03 January 2011 1:27:33 pm

You're right, i need to upgrade this PHP class, ans add some bug fixes too...
Maybe next week, if you can't wait after me, you should try to develop your own custom PHP Class, using the share tutorial : Advanced development with eZ Find - part 2 : Indexing additional fields in Solr

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

andre müller

Monday 03 January 2011 3:46:09 pm

GRREAT!! Saves my day..I'll wait for you to work :) that stuff is definitely too complex for me..

using your class, empty searches give me a wonderful listing of my authors (custom class, not author datatypes) in my drill-down menu and my books are filtered perfectly. but if i enter an authors name in the search field no books are found. (My book class has an attribute named 'authors' of type 'object relations', linking objects of my custom author class to my books).

if i use the ez find 2.3 class it's the other way round: the search works, but the facets don't.

Jean-François Müller

Thursday 12 May 2011 8:11:10 am

Is there already a fix for this? I'm in a need of getting it running in eZ Find 2.3 resp. eZ Publish 4.4 ...

I would appreciate any advice or hint where to look.

Thx!

btw: I fixed the indexing problem, but still have tokanized facets based on objectrelationlists in my results... maybe I'm missing something?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eZ Publish Developer
http://ez.no/certification/verify/395614

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

Main resources:

Total runtime0.5269 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0092 588.0469152.6406
Module start 'layout' 0.00920.0032 740.687539.5000
Module start 'content' 0.01240.5130 780.1875582.3203
Module end 'content' 0.52540.0014 1,362.507812.1250
Script end 0.5269  1,374.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.7598160.0003
Check MTime0.00160.2969160.0001
Mysql Total
Database connection0.00290.555510.0029
Mysqli_queries0.470989.3675630.0075
Looping result0.00060.1132610.0000
Template Total0.489192.820.2445
Template load0.00240.461220.0012
Template processing0.486692.354720.2433
Template load and register function0.00020.044010.0002
states
state_id_array0.00180.343910.0018
state_identifier_array0.00140.267220.0007
Override
Cache load0.00200.3838210.0001
Sytem overhead
Fetch class attribute can translate value0.00060.113330.0002
Fetch class attribute name0.00160.306950.0003
XML
Image XML parsing0.00180.344130.0006
class_abstraction
Instantiating content class attribute0.00000.001950.0000
General
dbfile0.00270.5150170.0002
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
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.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: 7

Time used to render debug report: 0.0001 secs