• 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
Application Architecture Question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Application Architecture Question...


  • Subject: Application Architecture Question...
  • From: Chris Shorrock <email@hidden>
  • Date: Wed, 29 Oct 2003 15:22:20 -0800

I'm currently starting work on a project which utilizes the SearchKit framework to search a potentially large index of documents. This is not unlike Mail.app where you have a large number of messages all indexed and searchable through the SearchKit.

What my question is, is how should I store each of the documents. Currently when a new document is created, I add it it's contents to an index and then store the NSData, amongst some other meta data information in a NSMutableDictionary. What this means is that I have a single dictionary object (persisted to file) which contains all the messages in the system. I'm thinking that once the number of messages starts to get large this type of single file storage mechanism will be undesirable (loading it into memory will be a waste). So I suppose what I'm wondering is what alternatives are there to this type of infrastructure, and is this infrastructure as bad as I suspect?

Thanks for any input anyone out there may have. (sorry for the newbie'ish nature of this question, while I'm not new to programming, I am quite new to cocoa/objective-c programming)

- Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Application Architecture Question...
      • From: Dustin Voss <email@hidden>
    • Re: Application Architecture Question...
      • From: Wade Tregaskis <email@hidden>
  • Prev by Date: Re: DVD playback format?
  • Next by Date: Re: Plugins for Mail
  • Previous by thread: Re: Archive
  • Next by thread: Re: Application Architecture Question...
  • Index(es):
    • Date
    • Thread