22, March 2010

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

 
Webdigity webmaster forums
[ 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 3340 times)
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5661
45599 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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 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 : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5661
45599 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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 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 : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5661
45599 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 or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6690
34708 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 : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5661
45599 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 or twitter

Last blog : Butterfly Marketing 2.0
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....

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?
Mar 22, 2010, 12:26:50 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!





Readers

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