Search speed
Posted: Mon Mar 08, 2010 4:03 pm
Thanks to the help I've received here, I have created a simple application for viewing images. I now would like to annotate the images so users can search on keywords and get the appropriate image. I'm thinking of two approaches. One, I can use stacks and cards. For each topic, the number of images is probably less than 25, so maybe I can just load the whole stack. I'm also considering reading from a formatted text file which contains all the annotations.
The question is: How do I do a search to return all the image files associated with a keyword? Is it easier to do this if they are all cards in a stack, or can I use a text file (with formatting, using "read file until" ) and repeat until all the files are retrieved? One uses larger files, and the other is frequently accessing the hard drive. Is one better?
Thanks,
--Doug
The question is: How do I do a search to return all the image files associated with a keyword? Is it easier to do this if they are all cards in a stack, or can I use a text file (with formatting, using "read file until" ) and repeat until all the files are retrieved? One uses larger files, and the other is frequently accessing the hard drive. Is one better?
Thanks,
--Doug