What is fulltextsearch

Answer Posted / kishore

MATCH (col1,col2,...) AGAINST (expr [search_modifier])
A full-text index in MySQL is an index of type FULLTEXT.
Full-text indexes can be used only with MyISAM tables, and
can be created only for CHAR, VARCHAR, or TEXT columns. A
FULLTEXT index definition can be given in the CREATE TABLE
statement when a table is created, or added later using
ALTER TABLE or CREATE INDEX.
For large data sets, it is much faster to load your data
into a table that has no FULLTEXT index and then create the
index after that, than to load data into a table that has an
existing FULLTEXT index.
Full-text searching is performed using MATCH() ... AGAINST
syntax.
MATCH() takes a comma-separated list that names the columns
to be searched.
AGAINST takes a string to search for, and an optional
modifier that indicates what type of search to perform.
Three types of full-text searches
1. A Boolean search interprets the search string using the
rules of a special query language.
2. A natural language search interprets the search string as
a phrase in natural human language (a phrase in free text).
There are no special operators.
3. A query expansion search is a modification of a natural
language search.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is explode() in php?

531


Hello Friends,I am seeking for a job in php having 9 months. exp.Please suggest any company openings.

1690


Is learning php easy?

520


What are the rules for naming a php variable?

531


What is php regular expression?

494






What are global variables in php?

493


What are properties in php?

502


What is Gd PHP?

576


What is a php class?

526


Tell us how to set cookies in php?

527


What is super keyword in php?

509


Do you know how to get the ip address of the client?

509


what is the scope of php in the future if any other language is developed then may be php is loss ???

13873


List some features of php that are deprecated in php

490


What is strlen function in php?

506