PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 11-12-2005, 09:32 AM   #1
galacticvoyager
Green Mole
 
Join Date: Nov 2005
Posts: 3
Wink How to Include Numbers which occur in names

My site has numerous pages with titles like "Apollo 13", "Gemini 7", "Mercury 6". If a user searches for "Apollo 13" he gets all the "Apollo *" pages but the "Apollo 13" page doesn't get a higher ranking.

If I understand the spider process, this is likely caused by the one and two digit numbers (13, 7, 5) getting left out.

Is there some way I could get numbers such as these included in the indexing? The config.php comments warn against setting the SMALL_WORD_SIZE to anything less than 2.

Thanks for your help and keep up the great work. PHPDIG is a very valuable tool for the small web developer.
galacticvoyager is offline   Reply With Quote
Old 11-12-2005, 01:45 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Just set SMALL_WORDS_SIZE to the number zero in the config file. Zero should make PhpDig index anything of one or more characters. Tip1: set single character or other sized 'words' in the common_words.txt file to prevent their index. Tip2: Run the 'clean common words' routine from the admin panel to rid the tables of common words. The SMALL_WORDS_SIZE comment is something from the past that didn't get updated when the code changed to allow for one or more character indexing.
__________________
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.
Charter is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Indexing of numbers jerrywin5 How-to Forum 3 04-06-2005 01:08 PM
Numbers everywhere... Nad Troubleshooting 10 07-14-2004 01:43 AM
How to use PHP include to include the Google result pages? sid Coding & Tutorials 1 01-07-2004 04:53 AM
Numbers BernhardG Bug Tracker 2 10-10-2003 04:20 AM
phpdig not index numbers. redlock Troubleshooting 6 10-06-2003 02:44 PM


All times are GMT -8. The time now is 04:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.