If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Question on FULLTEXT...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-13-04, 01:36
pearl2 pearl2 is offline
Registered User
 
Join Date: Nov 2003
Location: Sinapore
Posts: 187
Question on FULLTEXT...

Hi,

The following is found at (http://dev.mysql.com/doc/mysql/en/Fulltext_Search.html)

Code:
CREATE TABLE articles (
    id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,
    title VARCHAR(200),
    body TEXT,
    FULLTEXT (title,body)
);
My question is: What is the difference between specifying FULLTEXT individually on 'title' and 'body' and specifying it on the combined 'title' and 'body'. That is, between
Code:
FULLTEXT (title, body),

and

FULLTEXT (title),
FULLTEXT (body),
How does the difference affect the searches?

Could someone enlighten me?

Thanks in advance

Last edited by pearl2; 05-13-04 at 02:05.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On