Forums / Developer / search in sub objects

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.