search in sub objects

Author Message

Aladdin Mouhaimeed

Friday 26 August 2005 9:07:46 am

This is maybe my last unknown stuff on my way to build my site using eZ Publish.

I want my users profile to contain many sub objects. For example: Resume, Skills, etc..
I simply make the relationship by making the user node a parent of the sub object, and when showing the profile I show all the child objects (the sub objects).
I don’t know if using related object attributes would be better.

Anyway,
Now I want to make my advanced search on users.
My search will be on attributes of the sub objects. For example the visitor will chose a value of some child object attribute like: Skill->degree, and another value: Resume->domain, and then I will fetch all users whose sub objects match these two values.

I tried my best searching all search documents but find no answer.

If necessary I can review the structure of relating my objects, and use whatever suitable structure to get that search functionality.

Make any sense to you out there? Any hints would be greatly appreciated!!
Thanks --

Aladdin Mouhaimeed

Friday 26 August 2005 1:17:17 pm

Well,
I know it is not an easy stuff,
and frankly, I dout that I may have an answer at all,
but I hope that ez crew guys may have a hint or an advice,
I will wait.

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

Main resources:

Total runtime0.0143 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.0046 587.8906152.6094
Module start 'layout' 0.00460.0030 740.500039.4141
Module start 'content' 0.00760.0049 779.914189.1953
Module end 'content' 0.01250.0018 869.109430.3047
Script end 0.0143  899.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.4709140.0002
Check MTime0.00117.7982140.0001
Mysql Total
Database connection0.00053.836510.0005
Mysqli_queries0.002517.437130.0008
Looping result0.00000.090110.0000
Template Total0.001410.110.0014
Template load0.00085.522010.0008
Template processing0.00064.500710.0006
Override
Cache load0.00053.751410.0005
General
dbfile0.00032.147780.0000
String conversion0.00000.066840.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