Facetting with ezobjectrelationlist attributes

Author Message

Hugo Alexandre

Thursday 07 January 2010 2:58:21 am

Hi,

I would like to get facets from attributes with ezobjectrelationlist datatype

I tried with this syntax :

$searchFacets = array(hash(field, 'my_class/my_attribute', name, 'my_facet_name'))

and I don't get any result

My question is : is there a specific syntax or an extension to make it work ?

Thanks a lot in advance

Hugo

Paul Borgermans

Wednesday 13 January 2010 9:42:19 am

You may install the contrib from Gilles Guirand for now:

http://projects.ez.no/ezfsolrdocumentfieldobjectrelation

In ez find 2.2, this will be improved as well with the possibility also to have different field mappings for facets, filter/search ....

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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

Main resources:

Total runtime0.0218 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.3203152.6563
Module start 'layout' 0.00640.0040 741.976639.5078
Module start 'content' 0.01040.0088 781.484490.4766
Module end 'content' 0.01930.0025 871.960930.3047
Script end 0.0218  902.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.5492140.0002
Check MTime0.00125.4845140.0001
Mysql Total
Database connection0.00115.013110.0011
Mysqli_queries0.004118.678930.0014
Looping result0.00000.068910.0000
Template Total0.00209.210.0020
Template load0.00104.720010.0010
Template processing0.00104.449910.0010
Override
Cache load0.00073.334410.0007
General
dbfile0.00031.381280.0000
String conversion0.00000.040540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs