Thread: Numbers
View Single Post
Old 10-10-2003, 01:44 AM   #1
BernhardG
Green Mole
 
BernhardG's Avatar
 
Join Date: Oct 2003
Location: PĆ¼ttlingen (Saar) - Germany
Posts: 8
Numbers

Hi,

I found thousands of bugs ;-)
It is not possible to search for numbers like 2.0, , 220, Everytime i read "no results" but these words are found in the keywords table. Think of you would like to index a site about cars and a visitor tries to search for the two words 2.0 and engine. He then gets only results for the word engine because phpDig thinks that 2.0 is too short. Ok, next example: if someone searches for "2.0 l"... he then sees a list of all entries with 2.0 found in them. phpDig complains about the length of the string l - it is too short. But if I use quotes I would like to search for the whole string and it has a length of 5 chars.
Next bug: If I search for "2 liter" with exact match turned I see the php error message "Warning: Supplied argument is not a valid MySQL result resource in /var/www/phpdig/libs/search_function.php on line 164" and additionally the massage that \2 is too short.
Sorry that I have not enough time to find and eleminate these bugs.

Bernhard

btw: you can test this on my home server at
http://voyager.homelinux.org/phpdig
__________________
phpCMS - Content Management System
http://www.phpcms.de/
BernhardG is offline   Reply With Quote