General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesGeneral SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 6th, 2003, 12:59 AM
neeta neeta is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 1 neeta User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
fulltext problem

i have to query the database mysql for records
and display them using php.
i have used fulltext search.
my query returns no rows because of the following
three reasons
1) May be the word is less than 4 characters
............proper message for such a case can be displayed for the user.

2) The word does not exist
3) The word exists, but its relevance is less

now how to differentiate between the last two cases
because
if the word does not exist
i will display the user, that record not found
but if the word exists, and just because of its relevance % it
is not returned
then i should display the user , that the word exists
but just because of its relevance %
it is not displayed, try using some more keywords
or the word is common word
the soln for this can be
if the query return no rows
i can then query the table using like clause
but i don't want to do that.

now how to solve this problem.
and i am using mysql 3.23.53a max version

thanks in advance

Reply With Quote
  #2  
Old April 15th, 2003, 06:09 AM
hadley hadley is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 63 hadley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Unfortunately, there is no way.

Hadley

Reply With Quote
  #3  
Old December 31st, 2003, 03:23 PM
mwichmann4 mwichmann4 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 81 mwichmann4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 59 m 27 sec
Reputation Power: 6
you should up to ver 4.0 is there a reason why you can't.
__________________
Nothing is Everything

Reply With Quote
  #4  
Old December 31st, 2003, 07:21 PM
hadley hadley is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 63 hadley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
How would that help?

Hadley

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > fulltext problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT