😕 Help in php/mysql
using
php: 4
mysql :3.23
Apache- 2.0.45 (Win32) Server
I m working on a Books and articles search engine its populated with 200 records.
table contains title, authorname, journal name , keywords, transaction id, articles id, year, vol no. ,issue no. etc.
title, auname, journal name and keywords are indexed (fulltext).
TABLE indexarticles (
tid int(4) unsigned NOT NULL auto_increment,
aid int(4) unsigned NOT NULL default '0',
auid int(4) unsigned NOT NULL default '0',
au_name varchar(30) NOT NULL default '',
title varchar(255) NOT NULL default '',
jname varchar(255) NOT NULL default '',
year year(4) NOT NULL default '0000',
keyword varchar(100) NOT NULL default '',
vol varchar(10) default '0',
issue varchar(10) default '0',
PRIMARY KEY (tid),
FULLTEXT KEY au_name (au_name),
FULLTEXT KEY jname (jname),
FULLTEXT KEY title (title),
FULLTEXT KEY keyword (keyword),
FULLTEXT KEY articlesinx (au_name,title,jname,keyword)
) TYPE=MyISAM
problme is
in my database almost 150 something records contains marketing or information word.
-->when i run bellow query i don't get any result.
select distinct aid from indexarticles where (match(title)
agains ('marketing'))
-->with bellow query its showing me all records containing word
marketing
select distinct aid from indexarticles where (title like'%
marketing%')
-->same for "information "
select distinct aid from indexarticles where (match(title)
against ('information'))
except this two other words are working fine.
Can anybody tell me what is the problem .
any help will be greatly appreciated
thanks
Bhoomika