ezfind search in a node fields with filter on some children's fields ?

Author Message

christophe hugot

Wednesday 30 March 2011 1:36:39 am

Hello,

I use eZ Publish 4.4.0 with ezfind 2.3

I have a tree with this structure:

_ farm

|_ product 1

|_ product 2

|_ .....

My problem is to search a world in the name and description of the farm (no problem at this point), but I must filter on the product's categories and quality mark.

Is it possible without development of a specific ezfind indexing handler ?

Sincerely

Brandon Chambers

Tuesday 31 May 2011 1:56:22 pm

I'm not entirely sure but what about using extended attribute filters with the basic word finding functionality in SQL  (LIKE %foo%) ?

HTH, Good luck!

Brandon Chambers
brandon@granitehorizon.com
blog: http://blog.divdesigns.com
Granite Horizon / http://granitehorizon.com

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

Main resources:

Total runtime0.5977 sec
Peak memory usage4,096.0000 KB
Database Queries56

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.5547152.6875
Module start 'layout' 0.00530.0023 742.242239.5313
Module start 'content' 0.00760.5888 781.7734532.1016
Module end 'content' 0.59630.0014 1,313.87508.0703
Script end 0.5977  1,321.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5376160.0002
Check MTime0.00120.2017160.0001
Mysql Total
Database connection0.00070.111610.0007
Mysqli_queries0.552192.3677560.0099
Looping result0.00050.0838540.0000
Template Total0.572495.820.2862
Template load0.00190.320920.0010
Template processing0.570495.435220.2852
Template load and register function0.00010.016910.0001
states
state_id_array0.00080.126310.0008
state_identifier_array0.00070.115420.0003
Override
Cache load0.00160.2607180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.084820.0003
Fetch class attribute name0.00120.194140.0003
XML
Image XML parsing0.00200.338120.0010
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00180.3065210.0001
String conversion0.00000.001240.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0003 secs