PDA

View Full Version : Why does phpDig rely on creating txt files for descriptions?


misterbearcom
06-13-2004, 08:22 PM
I'm sure someone else has probably asked this question (so if there's a link to the answer please forgive me and let me know what it is) but why does PHP dig rely on creating txt files in the text_content folder rather than simply storing the information as a text or medium-text field in the mysql database?

Maybe it's just a no-brainer but I now have about 10,500 urls in one phpdig database and the return time on the search has grinded down to a near halt. So, I was thinking maybe that's part of the problem.

If anyone knows the answer to this question, please let me know. Thanks. And sorry for the bother.

synnalagma
06-13-2004, 11:09 PM
The search is not done using files except for exact match.

Actually, files are only used for text snippet. So when PHPDig open a file the search is already done and you know wich file to open.

To speed up your search try this thread (http://www.phpdig.net/showthread.php?s=&threadid=978)