Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8016383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:31:34+00:00 2026-06-04T20:31:34+00:00

I am a bit new to MySQL Full Text Search capability. I would like

  • 0

I am a bit new to MySQL Full Text Search capability.

I would like to clarify some usage of MATCH()..AGAINST() FTS functionality.

If we have a column of type text and which contains multiple name pair values along with other text. Generally I understand that the FTS feature in MySQL can be used as via below command:

select col from mytable where match(text_data) against('some word') limit 10;

But I need to search for multiple words like, if:

select text_data from mytable;
==============================

abcd, xyax&iopp data=1244 amt=78 ..
abcd, xyax&iopp data=12xx amt=7x ..

Now I want to search in text_data column having value data value as ‘1244’ and amt as ’78’. So how can I use two expression is AGAINST clause:

select col from mytable where match(text_data) against ('data=1244' and  'amt=78')

OR

select col from mytable where match(text_data) against ('data=1244') and match(text_data) against ('amt=78')

OR

select col from mytable where match(text_data) against ('data 1244 amt 78') 

OR

is there any other way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:31:35+00:00Added an answer on June 4, 2026 at 8:31 pm
    SELECT  col
    FROM    mytable
    WHERE   MATCH(text_data) AGAINST('+"data 1244" +"amt 78"' IN BOOLEAN MODE)
    

    Note that you should have ft_min_word_len set to 1 for this to work (with default value of 4, amt and 78 won’t even get indexed)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm very new to php/MySQL and I'm having a bit of trouble. Help would
I am quite new to the mysql phpMyadmin environment, and I would like to
I've done a fair bit of mysql php programming but am pretty new to
I'm a bit new to .Net development, been working in Java for some time
I am a little bit new to the PHP/MYSQL arena, and had an idea
Finding it a little bit tedious migrating to the new Mysql Workbench (5.2.22) even
Im a bit new to T-SQL, Coming from a MySQL background Im still adapting
I'm new to the world of MySQL and I'm having a bit of trouble.
I'm using Mysql 5.0 and am a bit new to indexes. Which of the
I am a bit new to MySQL and trying my hands on learning it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.