MySQL Forums
Forum List  »  Full-Text Search

Newbie - Empty set returned
Posted by: Martin Östmark
Date: February 26, 2007 06:52AM

Hi,

I guess I'm doing something silly, but what is wrong with the following? Shouldn't I get one row returned from the following?:

CREATE TABLE test (
id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,
title VARCHAR(400),
FULLTEXT (title)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

INSERT INTO test(title) VALUES('One two three');
INSERT INTO test(title) VALUES('Four five six');
INSERT INTO test(title) VALUES('Seven eight nine');

mysql> SELECT * FROM test WHERE MATCH(title) AGAINST('two');
Empty set (0.00 sec)

Regards
Martin

Options: Reply• Quote


Subject
Views
Written By
Posted
Newbie - Empty set returned
5132
February 26, 2007 06:52AM
2689
February 27, 2007 03:39PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.