PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 06-02-2004, 11:01 AM   #1
mingus
Green Mole
 
Join Date: May 2004
Posts: 2
search for "hold" not matching on the word foothold

I've tried searching the archives, but either don't know what to search for or just can't find it...

The issue I'm seeing is that the search engine seems to only look at the beginning of the word.

For example, searching for "foo" returns the word foothold on a page, but searching for "hold" returns no results.

I have tried changing the default search setting (start/any/exact) and it makes no difference. Is there a way I can change this so that "hold" will match the world foothold in a page?

Thanks muchly
mingus is offline   Reply With Quote
Old 06-02-2004, 05:45 PM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Welcome to the forum, mingus.

Sorry, but phpdig only searches on the start of words or on whole words. There are no other options at this time.
vinyl-junkie is offline   Reply With Quote
Old 06-02-2004, 09:54 PM   #3
mingus
Green Mole
 
Join Date: May 2004
Posts: 2
Thanks

One of the threads I did find when searching is this one http://www.phpdig.net/showthread.php?s=&threadid=708

I think "partial word matching" as is mentioned in that thread is what I'm after here, and it sounds like this is a direction that phpDig will head when MySQL 4.x becomes more widespread. Matching on other parts of words is a must have for my site, so I reckon I'll hack it into phpDig and see where it gets me in the meantime.

If it's worthy, I'll post what I've got in case it's useful for someone else...
mingus is offline   Reply With Quote
Reply


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
search.php suddenly stops parsing during "extract vars" jackmoring Troubleshooting 1 08-25-2006 12:27 PM
shows blank page if "Search All" and "exact phrase", timeout? alokjain9 Troubleshooting 2 03-07-2006 08:08 AM
"1 1" between page header and search result jensb Troubleshooting 2 01-13-2005 02:37 PM
"search depth" and "links per" features laurentxav How-to Forum 1 01-12-2005 08:27 PM
Removing "Select a site to search" aslan How-to Forum 2 08-25-2004 10:33 PM


All times are GMT -8. The time now is 11:50 PM.


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