24, July 2008

do I need to use fulltext search for one column? - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  Databases  >  MySQL
Topic: do I need to use fulltext search for one column?
« previous next »
Pages: 1 [2] Print

Author Topic: do I need to use fulltext search for one column?  (Read 1864 times)
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #20 on: Jul 29, 2006, 02:58:52 PM »

Sure you can post it Smiley

The tutorials area is only viewable by the members anyway Wink

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #21 on: Jul 29, 2006, 11:42:39 PM »

Now I have splitted the domain in the columns:
sub_domain
domain
tld

do I have to set indexes for all three columns?


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #22 on: Jul 30, 2006, 04:15:15 PM »

You need a primary key for all of those (check them all together and add primary key from phpMyAdmin)

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #23 on: Jul 30, 2006, 04:20:36 PM »

got an error because the entries are not unique sinds I have records for different image sizes for the same domain name... do I have to change that?


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #24 on: Jul 30, 2006, 04:27:48 PM »

I don't got that. You keep for each domain one photo?

If you do then all 4 fields must be kept as a primary key.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #25 on: Jul 30, 2006, 04:31:07 PM »

I don't got that. You keep for each domain one photo?

If you do then all 4 fields must be kept as a primary key.
yes I save max 4 thumbs for each domain (Chris is using two formats)

Now I understand how this works with the primary index, thanks (these 4 columns are the values I use to select a thumbnail)


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #26 on: Jul 30, 2006, 04:33:50 PM »

Quote
these 4 columns are the values I use to select a thumbnail

That's the point. You got it Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3425
Tags : php tutorials mysql domains databases Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: 1 [2] Print 
Webdigity Webmaster Forums  >  Web Development  >  Databases  >  MySQL
Topic: do I need to use fulltext search for one column?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 24, 2008, 04:59:35 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.717
Total Topics: 7.379
Total Members: 3.710
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: prolist

28 Guests, 4 Users online :

12 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.