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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:48:13+00:00 2026-05-15T19:48:13+00:00

I have a FULLTEXT index called cart_product_fti on a table Whenever I use it,

  • 0

I have a FULLTEXT index called cart_product_fti on a table

Whenever I use it, I have to list all the fields that are in the index exactly:

MATCH (foo,bar,etc)

My thoughts are, if later I decide to add/remove a field to the index, all the scripts are going to have to be updated or they will be broken.

So I am wondering if there is a way to get a list of all the fields in the index and then insert the list into my MATCH() so it won’t have to be updated if a change is made to the FULLTEXT index?

  • 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-15T19:48:14+00:00Added an answer on May 15, 2026 at 7:48 pm

    Possible solutions:

    • Just do the work. A properly structured project probably has just 1 or 2 classes or files with the specific query / datarelation, so it shouldn’t be that much work.

    • Keep on querying information_schema.statistics again and again for every query to build a query dynamically (hardly efficient).

    • Define a stored procedure which searches in the table, in which case altering the table / fulltext index layout would only require you to alter the procedure once.

    Edit: for some reason key_column_usage doesn’t seem to hold a FULLTEXT reference, and we have to resort to the information_schema.statistics table?

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

Sidebar

Related Questions

I have a fulltext index on my table but am getting weird results... Think
I have a table (lets say it has one column called 'colLanguage') that contains
I have a table that lists people and all their contact info. I want
I would like to use the position/index found by the Match...Against fulltext search in
right now, we are using Solr as an fulltext index, where all fields of
I have a fulltext index on the title of my articles. When someone views
We have a full text index on a fairly large table of 633,569 records.
I have tried to use mysql fulltext search in my intranet. I wanted to
I have a product table where the description column is fulltext indexed. The problem
I have a database table which is full-text indexed and i use the CONTAINS-function

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.