|
10-10-2003, 01:44 AM | #1 |
Green Mole
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 |
10-10-2003, 03:29 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. This thread has a temporary fix for the MySQL error, although it doesn't address the other problems you mention. The search will be reworked in a future release.
__________________
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. |
10-10-2003, 04:20 AM | #3 |
Green Mole
Join Date: Oct 2003
Location: Püttlingen (Saar) - Germany
Posts: 8
|
Thank your for the link. :-)
If you or someone else needs help developing a new better indexer you could look at the indexer of phpCMS. It has many features but can't respider yet (you have to spider all sites again at the moment). But If you look for number routines or special treatment of tags a look to the source code is a good action! Bernhard |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Include Numbers which occur in names | galacticvoyager | How-to Forum | 1 | 11-12-2005 01:45 PM |
Indexing of numbers | jerrywin5 | How-to Forum | 3 | 04-06-2005 01:08 PM |
fuzzy search on product numbers | indeh | How-to Forum | 0 | 10-13-2004 11:33 AM |
Numbers everywhere... | Nad | Troubleshooting | 10 | 07-14-2004 01:43 AM |
phpdig not index numbers. | redlock | Troubleshooting | 6 | 10-06-2003 02:44 PM |