|
05-23-2005, 12:23 PM | #1 |
Green Mole
Join Date: Mar 2005
Posts: 3
|
Limit search to this path returns no results
Congrats on this wonderful application. It took quite a bit of work to get it fully configured, and working with external binaries to scan other doc types, but it is a dream once it is working properly.
In testing the search capabilities, I came across this 'bug'. It appears there is a problem with spaces in an address. The function works for most of the links, but paths with spaces in them return 0 results. Considering I am clicking on an actual results, you would think at least it would be returned. This returns 0 results: "limit search to this path : www/training/docs/training/Module 21 ver2.0/" http://www.domain.com/www/search.php...0&option=start This returns results: "limit search to this path : docs/implementation/Security/" http://www.domain.com/www/search.php...0&option=start Regards, Mixle |
05-26-2005, 09:23 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Try the following and let me know if it worked...
In search_function.php find: Code:
if (($path) && (strlen($path) > 0)) { $wherepath = "AND spider.path like '$my_path' "; } Code:
if (($path) && (strlen($path) > 0)) { $my_path = str_replace(" ","\%20",$my_path); $wherepath = "AND spider.path like '$my_path' "; }
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
05-30-2005, 10:24 PM | #3 |
Green Mole
Join Date: Mar 2005
Posts: 3
|
That seemed to do the trick.
Thank you for that. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search returns comments...how to prevent | csabot | Troubleshooting | 0 | 06-07-2006 11:47 AM |
Search results returns blank page | Anton | Troubleshooting | 1 | 02-11-2006 10:20 PM |
Search results returns blank page | Anton | Troubleshooting | 0 | 01-05-2006 08:56 PM |
Spidering returns no results | toddvirgil | Troubleshooting | 1 | 11-30-2005 03:38 PM |
Spidering returns very few keyword results | e_talis | Troubleshooting | 8 | 07-22-2004 07:53 AM |