• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deep hierarchical search
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deep hierarchical search


  • Subject: Re: Deep hierarchical search
  • From: Klaus Berkling <email@hidden>
  • Date: Wed, 26 Sep 2007 07:57:34 -0700

Thanks Mike.

I'll need to spend some more undistracted time figuring this out....

Sorry for the delay in responding.  I appreciate your help.

On Sep 21, 2007, at 4:13 AM, Mike Schrag wrote:

If your tree is arbitrarily deep (which is sounds like it is), there is no magic bullet for this -- it's going to suck. I've written a couple posts on this before:

http://lists.apple.com/archives/Webobjects-dev/2006/Jun/msg00005.html

and

http://lists.apple.com/archives/webobjects-dev/2007/Jul/msg00471.html

Somewhere there's a third one, but I can't find it.

ms

On Sep 20, 2007, at 9:40 PM, Klaus Berkling wrote:

I hope someone has thoughts on performing a search through a hierarchical data model.

I have a WO application that receives, stores and retrieves student study information. More here:
http://www.dyned.com/products/internetrm.shtml


In my model I have a group entity which have sub-groups via one-to- many relationship back to itself. These groups then have classes with students. There is a class entity with many-to-many relationships to the student entity. A student can be in more then one class.

There is a search I need to implement that returns matching groups, classes and students within a givem parent group.
I can reach all the objects through relationships so starting with a parent group I can walk through all the sub-groups, classes and students arrays. This is time consuming.


I'm trying to think of a fetch specification that avoids some of the recursive looping I do now.

Any thoughts? Many thanks in advanced.

kib

"Success is not final, failure is not fatal: it is the courage to continue that counts.”
- Winston Churchill
--
Klaus Berkling
Systems Administrator
DynEd International, Inc.
www.dyned.com | web.mac.com/kib




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40dyned.com


This email sent to email@hidden




kib

"Success is not final, failure is not fatal: it is the courage to continue that counts.”
- Winston Churchill
--
Klaus Berkling
Systems Administrator
DynEd International, Inc.
www.dyned.com | www.eskimo.com/~kiberkli/




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Deep hierarchical search (From: Klaus Berkling <email@hidden>)
 >Re: Deep hierarchical search (From: Mike Schrag <email@hidden>)

  • Prev by Date: background
  • Next by Date: Re: Deep hierarchical search
  • Previous by thread: Re: Deep hierarchical search
  • Next by thread: Unable to locate WOOpenURL
  • Index(es):
    • Date
    • Thread