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

  • Home
  • SEARCH
  • 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 3957790
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:32:03+00:00 2026-05-20T02:32:03+00:00

I try to add full text search to an existing table. When I tried:

  • 0

I try to add full text search to an existing table. When I tried:

alter table tweets add fulltext index(tags);

I got the error:

ERROR 1214 (HY000): The used table type doesn't support FULLTEXT indexes

what is the problem? How can I know what table type it is?

  • 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-20T02:32:04+00:00Added an answer on May 20, 2026 at 2:32 am

    This is how you check the table type:

    SELECT table_schema,engine FROM information_schema.tables WHERE table_name='tweet';
    

    Only MyISAM supports FULLTEXT Indexes.

    You may also want to preempt the stopword list.

    Click Here for the Stop Words that FullText Indexing Would Normally Ignore.

    You can override this as Follows:

    1) Create a text file in /var/lib/mysql like this

    echo "a" > /var/lib/mysql/stopwords.txt<BR>
    echo "an" >> /var/lib/mysql/stopwords.txt<BR>
    echo "the" >> /var/lib/mysql/stopwords.txt<BR>
    

    2) Add this to /etc/my.cnf

    ft_stopword_file=/var/lib/mysql/stopwords.txt<BR>
    ft_min_word_len=2
    

    3) service mysql restart

    Here is something else to consider:

    You may not want to convert the table ‘tweets’ to MyISAM.

    1) If the InnoDB table ‘tweets’ contains CONSTRAINT(s).

    2) If the InnoDB table ‘tweets’ is the parent of other InnoDB tables with Foreign Key Constraints back to ‘tweets’.

    3) You cannot afford to have table-level locking of the ‘tweets’ table.

    Remember, each INSERT into the ‘tweets’ table will trigger a table-level lock if it were a MyISAM table. Since it currently an InnoDB table (which does row-level locking), the ‘tweets’ table can be INSERTed into very quickly.

    You many want to create a separate MyISAM table, called tweets_tags, with the same Primary Key of the ‘tweets’ table along with a TEXT column called ‘tags’ the same as in the ‘tweets’ table.

    Next, do an initial load of tweets_tags like this:

    INSERT INTO tweets_tags (id,tags) SELECT id,tags FROM tweets;
    

    Then, periodically (every night or every 6 hours), load new tweets into tweets_tags like this :

    INSERT INTO tweets_tags (id,tags) SELECT id,tags FROM tweets WHERE id > (SELECT max(id) FROM tweets_tags);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to set up a FULLTEXT index in an existing db table (with
Getting this error when try to add an item to my repositories/context: Collection has
I've tried the add() method but nothing is displayed when I try to add
I am trying to add a spatial index to a table column named Location
I have two tables that make up a full text index of article content
I try to add dots between the page title and the page number in
I try to add Message.framework to my project frameworks directory. After that I compile
I try to add a class to a td-element using javascript with the internet
I try to add a class to a link with jquery <a rel=/Career/ href=/Career/></a>
If I try to add a tab to the toolbox and name it 'Clipboard

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.