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
Where is session id stored?
What is a helper function?
Tell me is it possible to submit a form with a dedicated button?
Does php class need constructor?
How to generate a character from an ascii value?
What is the use of array_count_values() in php?
What is php form validation?
What does php mean?
What are the new features in php 7?
Why do we use sessions in php?
What are the final class and final method?
What can php do?
Can you define an array argument as a reference type?
How to create a mysql connection in php?
How can we access the data sent through the url with the get method?