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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:45:01+00:00 2026-05-13T11:45:01+00:00

Is there a way to select entries from fulltext index in MySQL?

  • 0

Is there a way to select entries from fulltext index in MySQL?

  • 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-13T11:45:01+00:00Added an answer on May 13, 2026 at 11:45 am

    No, not that I know of. It would be a great feature though.

    I built a search interface with autocomplete on top of MySQL. I run a daily job that scans all columns in all tables that I want to search in, extract words with regular expressions, then store the words in a separate table. I also have a many-to-many table with one column to hold the id of the object, and one column to hold the id of the word so as to record the fact that “word is part of text belonging to object”.

    The autocomplete works by taking the words typed into the box, and then generating a query that goes like:

    SELECT     obj.title
    FROM       obj_word
    INNER JOIN obj
    ON         obj_word.obj_id = obj.id
    INNER JOIN word
    ON         obj_word.word_id = word.id
    WHERE      word.word IN ('word1', 'word2', 'word3') -- generated dynamically, word1 etc     are typed by the user
    GROUP BY   obj.id
    HAVING COUNT(DISTINCT word.id) = 3 -- the 3 is generated, because user typed 3 words.
    

    This works fairly well for me, but I don’t have huge amounts of data to work with.

    (the actual implementation is slightly fancier, beause the last word is matched with LIKE to allow partial matches)

    EDIT:

    I just learned that the myisam_ft_dump utility may be used to extract a list of words from the index file. The command line goes something like this:

    myisam_ftdump -d film_text 1  > D:\tmp\out.txt
    

    Here, -d means dump (get a list of all entries), film_text is the name of a MyISAM table with a full text index, 1 is one, and ordinal identifying which index you want to dump.

    I must say, the utility works, but I am not surer it is fast enough to use this for pulling a live list for autocompletion. You could of course have a periodical job that runs the command and dumps it to file. Unfortunately this dumps index entries not individual, unique words.

    My hunch is you could use this utility as a means to extract the words, but it will need processing to turn it into a proper autocomplete list.

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

Sidebar

Related Questions

1) Is there any way to select a random record from Freebase? If I
Is there any way to select items in a list that aren't contained in
Is there any way to select only innermost tables? That is ones that do
Is there a way to select all the contents of a node in Nokogiri?
Is there a way to select all columns of a data frame except a
In a jquery modal dialog, is there a way to select a button as
Is there a better way to select grandparent elements in jQuery in order to
Is there a MVVM way to select text in a textbox? The MVVM framework
Is there a way I can select a portion of multiple lines in vim
I was wondering if there is any way to SELECT the first number that

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.