What is fulltextsearch

Answer Posted / jagpreet

MySQL has support for full-text indexing and searching. A
full-text index in MySQL is an index of type FULLTEXT.
FULLTEXT indexes can be used only with MyISAM tables; they
can be created from CHAR, VARCHAR, or TEXT columns as part
of a CREATE TABLE statement or added later using ALTER
TABLE or CREATE INDEX. For large datasets, it is much
faster to load your data into a table that has no FULLTEXT
index, and then create the index afterwards, than to load
data into a table that has an existing FULLTEXT index.

Constraints on full-text searching are listed in Section
12.7.4, “Full-Text Restrictions”.

Full-text searching is performed with the MATCH() function.

mysql> CREATE TABLE articles (
-> id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY
KEY,
-> title VARCHAR(200),
-> body TEXT,
-> FULLTEXT (title,body)
-> );

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function in PHP do not return a timestamp?

572


What is the difference between php4 and php5?

567


How to track no of user logged in?

635


What does $_cookie means?

568


Explain the installation of PHP on UNIX systems?

551






How many types of php are there?

526


What is $_ files in php?

563


How can we connect to a mysql database from a php script?

533


How do you display the output directly to the browser?

473


How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

515


What is the purpose of $_ session?

519


how to open & closing opening period in fico

1219


How should a model be structured in mvc?

529


How do you check is php not empty?

552


Tell me what is the definition of a session?

553