![]() |
MySQL5 Fulltext
Hey,
Been trying to search through my database using fulltext, i used the query: Code:
SELECT *Quote:
Thanks! |
You probably ment:
Code:
SELECT * |
Can't be that, it produces the same error.
|
Try creating a new index - MySQL AB :: MySQL 5.0 Reference Manual :: 11.1.4 CREATE INDEX Syntax - on the tables and your searchable columns to see if that helps.
Alan |
Well, i know for a fact that they have indexes because as i said they work seperatly but wont work together for some reason.
|
Indeed. The only reason I can think of is a corrupt index somewhere (even though they work seperately), hence the index rebuild.
Hell, it's worth a try anyway? :-D Alan |
Also, when you created your table did you create it with FULLTEXT(major1, major2)? or seperately?
Edit: Having done some testing, I reckon this is where the problem lies. To use MATCH(major1, major2), your create table statement would have needed "...FULLTEXT(major1, major2)...", I'm guessing that it had "...FULLTEXT(major1), FULLTEXT(major2)..." which is why it works on single column searches. Alan |
Yeah, i see what you mean, but, what if i want to do it over 2 tables? think that would be possible?
|
MySQL AB :: Re: Full Text search on multiple tables? - That post may help - he seems to be doing a full text search across two tables.
Alan |
Thanks for all your help Alan, problem solved.
|
| All times are GMT. The time now is 07:00 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0