What would be a typical file size? Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -----Original Message----- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Monday, August 08, 2005 1:14 PM To: CF-Talk Subject: Advanced Text Searching.
I'm using a java class (RandomAccessFile) to read through a large text log file. My applet has a search capability, but it is not very efficient. This is my lack of a Computer Science degree shows up. My search is a vanilla linear text search starting at the beginning and going to the end of the text file. It takes about 9 seconds to search approximately 1% of the file. I made this work by stopping it at a certain point (100 arbitrary "pages"). Not too bad. But are they more sophisticated, efficient and/or quicker methods to search an unordered text file for matching parameter strings? Can these methods be utilized in a simple ColdFusion and/or Java way without 3 months of study? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214055 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

