mySQL Match Against: Multiple Columns

Posted on 2009-04-22
Last Modified: 2012-06-27
This works:
          select * from `organizations` where match (name) AGAINST ('foo bar')

And this works:
          select * from `organizations` where match (keywords) AGAINST ('foo bar')

But this returns an error:
          select * from `organizations` where match (name,keywords) AGAINST ('foo bar')

Here is the error:
#1191 - Can't find FULLTEXT index matching the column list
Question by:hankknight
    1 Comment
    LVL 8

    Accepted Solution

    as the error is already saying it. You need to have a multi column full text index in order to do fulltext search on multiple columns.
    this might help you:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
    These days socially coordinated efforts have turned into a critical requirement for enterprises.
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    The viewer will learn how to dynamically set the form action using jQuery.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now