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 6922211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:22:38+00:00 2026-05-27T10:22:38+00:00

My MySQL table is not returning results with a MATCH (col) AGAINST (”) query.

  • 0

My MySQL table is not returning results with a MATCH (col) AGAINST ('') query.

The table is simple:

id | url | fullTextIndex

And my query is

SELECT *, Match(fullTextIndex) AGAINST ("7f7f7f807f8080807f8080807f7f7f807c828888808a86967e8b858d7f89838a76829e958f7badb68084a3a38384899077848b877f799f9c85799fa2827d8c8a ") FROM Pictures;

The last column, the match, is always 0. Except, I know for a fact that the string above is contained, verbatim, in one of the values.

Things to note:

  • The string is only in that row (so it is not in more than 50% of rows, so it shouldn’t be ignored).
  • This is not the Full value
  • The column is a bigText column
  • When I use INSTR, I get the value 1 (which is correct)

Any ideas why this query might not be working?

  • 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-05-27T10:22:39+00:00Added an answer on May 27, 2026 at 10:22 am

    There seems to be a (configurable) upper limitation on the length of the words considered for indexation:

    http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_ft_max_word_len

    You can check the current value with SHOW VARIABLES LIKE "ft_max_word_len";

    It returns 84 on my server, and your string is 128 chars long.

    Suggested fix:

    1. Add this line to your my.cnf file: ft_max_word_len=128 (or whatever max length you need)

    2. Rebuild your indexes as advised on the MySQL website: REPAIR TABLE tbl_name QUICK;

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

Sidebar

Related Questions

I have got a simple MySQL table and primary index (id) is not numbered
Why does the MySQL query below give error 1066 (Not unique table/alias: 'customer') ?
My MySQL table is simple. I have 3 fields: an index a url a
The query below is not returning any results. I have copied it from a
In this MySQL table definition: CREATE TABLE groups ( ug_main_grp_id smallint NOT NULL default
Can we create a new MySQL database( not a table, I want a new
I have mysql database structure like below: CREATE TABLE test ( id int(11) NOT
I have a SQL statement to select results from a table. I need to
My MySql table is returning days instead of time. I need a minimum level
Been very frustrating but mysql is returning an empty set for this code (not

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.