PDA

View Full Version : How phpdig works with composed keywords ?


julien
02-27-2005, 01:49 AM
Hi,
I wonder how phpdig works when searching for keywords like "universal compassion" for example. Because, it's seems to me that it is not working...
If someone can help me, it would be great...
Thanks,
Julien.

Charter
02-27-2005, 09:14 PM
If you choose "and" then PhpDig shows search results where "universal" and "compassion" are found in the page. If you choose "exact" then PhpDig shows search results where "universal compassion" is found in the page. If you choose "or" then PhpDig shows search results where "universal" or "compassion" is found in the page. The search results of course depend on what words PhpDig finds when indexing the page.

julien
03-01-2005, 10:05 PM
Hi Charter,
Thanks for your answer. My question wasn't "how the search function of phpdig works for compound keywords" but rather "how phpdig works when spidering a page and retrieving keywords ?"
Does phpdig "recognize" conpound keywords and how do it recognize them ?
I'm interested to know...
Thank you very much,
Julien.

Charter
03-01-2005, 11:12 PM
PhpDig determines "words" based on $separators = " "; in the robot_functions.php file, and SMALL_WORDS_SIZE and MAX_WORDS_SIZE in the config file. Also see this (http://www.phpdig.net/forum/showthread.php?t=200) thread.