🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.golive.dynamic.content
Article #101

Is it possible to do a full text match with joined tables.

#101
From: Jeremy_M._Cox
Date: Thu, 29 Jul 2004 01:43
7 lines
1834 bytes
I have 2 tables one with college faculty and one with course information. I have a third table (a table of courses offered in the fall) that is related to the other two by faculty_ID and class_ID respectively. I set up the indexes on the first two tables and I can do match searches for them in MySQL. The only information in the third table that some one would be interested in is the who the instructor is (represented by the faculty_ID) and what class it is(represented by the class_ID). Since these are integers I can't do a full text matching on those fields .

I tried joining and adding the $where clause like so

// SELECT * FROM faculty_info, comm_classes, fall_classes WHERE faculty_info.faculty_ID = fall_classes.faculty_ID and comm_classes.class_id =fall_classes.class_ID and MATCH (faculty_info.faculty_first, faculty_info.faculty_last, comm_classes.class_name, comm_classes.cat_num, comm_classes.class_desc, comm_classes.prog_study) AGAINST ("Joan, Atkins")

but I get the error #1210 Wrong arguments to MATCH. I tried putting the Match statement first but it didn't work either. Is this possible or am I wasting my time?
Technical Details
Message-ID: <3bb53f82.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Thread: 11ffd2,5be81bf8a12d8df7,start
X-Google-Attributes: gid11ffd2,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jeremy_M._Cox@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.golive.dynamic.content
Subject: Is it possible to do a full text match with joined tables.
Message-ID: <3bb53f82.-1@webx.la2eafNXanI>
Date: Wed, 28 Jul 2004 18:43:09 -0700
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit