found a strange thing: I installed 0.8.5 on a webspace using MySQL 3.23
When I try to find an article with the search-form I don't get any result, even if the words are in the articles. The funny part is: I installed 0.8.4 some days ago for one of my customers and upgraded to 0.8.5 where the search works fine on the web but not in my local testing environment (I tested the same MySQL Version locally).
So it seems to be a problem with mySQL 3.23, which is the only option I have at the moment if I don't want to change my host.
I nailed it down to this:
Code: Select all
SELECT *
FROM serendipity_entries e
WHERE match (title, body, extended) against ('Test');But this:
Code: Select all
select *
FROM serendipity_entries e
where concat(title, body, extended) like ('%Test%');I have already looked at the table structure and I found a correctly defined fulltext key. The create command that I have exported from the existing table looks like this:
Code: Select all
CREATE TABLE serendipity_entries (
id int(11) NOT NULL auto_increment,
title varchar(200) default NULL,
timestamp int(10) unsigned default NULL,
body text,
comments int(4) unsigned default '0',
trackbacks int(4) unsigned default '0',
extended text,
exflag int(1) default NULL,
author varchar(20) default NULL,
authorid int(11) default NULL,
isdraft enum('true','false') NOT NULL default 'true',
allow_comments enum('true','false') NOT NULL default 'true',
last_modified int(10) unsigned default NULL,
moderate_comments enum('true','false') NOT NULL default 'true',
PRIMARY KEY (id),
FULLTEXT KEY entry_idx (title,body,extended),
KEY date_idx (timestamp),
KEY mod_idx (last_modified)
) TYPE=MyISAM;Marian
