Does anyone have input on what makes a search engine fast? Not in terms of algorithms but even before you get to that, you run into issues (at least in php) like fread(... ...) which will take longer and longer the more characters that need to be read.
I thought the time delay was due to the xml_parse_into_struct function but it turns out after changing different parameters to test, fread was what was holding it back. If you have ever tried to search a bunch of XML files for tag->data information, or any other non-XML files too, what did you do to make your searcher efficient?