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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:51:24+00:00 2026-05-16T22:51:24+00:00

I need to use full text search but the tables that I am using

  • 0

I need to use full text search but the tables that I am using in my web application use the INNODB engine, from what I read JDBC does not have support for Mysql triggers and I am supposed to deploy the project on the course server so installing tools such as sphinxs is not possible, could someone please suggest a method to perform a full-text search?

thanks

Edit: the requirement in the project is to have a consistent database, the table on which I want to perform search contains the list of instruments that exist in the lab for which I am building the web application, it is possible to insert new instruments to it, but let’s assume that the insert accesses are few and that mostly the table will be used for read access, in this case, is using MyIsam justifiable and would it conform with the consistency requirements (Myisam doesn’t support transactions)?

  • 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-16T22:51:24+00:00Added an answer on May 16, 2026 at 10:51 pm

    You can create a second table using MyISAM that contains only the primary key of the main table and the text content you wish to FULLTEXT search over. Then when you want to do a fulltext search, you do a JOIN between the proper InnoDB table, and the search-bait MyISAM table, with a MATCH condition against the MyISAM table.

    This also allows you to store different search-bait text in the MyISAM table to the ‘real’ text in the InnoDB table, which allows you implement features like stemming or special apostrophe/hyphen handling that MySQL’s FULLTEXT engine can’t manage.

    The problem here of course is keeping the MyISAM data consistent with the InnoDB data. You can either run a job every so often to do it, or make the app write to both tables any time there is a text update. Either way, hopefully you can get away with inconsistency in fulltext searching, where it would be unacceptable for the ‘canonical’ table data.

    Another approach is just to fall back to LIKE/RLIKE (regexp) matching when the fulltext solution you want isn’t available. Will be unindexable so not fast, but at least it’ll always work, and it’s fine for smaller databases.

    Edit:

    the table on which I want to perform search contains the list of instruments that exist in the lab for which I am building the web application

    OK, does that really have to be FULLTEXT searchable? Wouldn’t it be better to model such a list as one entity per type of equipment, and a join table between labs and equipments (or whatever it is)?

    so if 2 inserts happen at the same time?

    MyISAM won’t let two INSERTs claim the same primary key. But this isn’t enough to guarantee ‘consistency’ in the general case. Whilst it sounds like you could get away with it from a practical point of view, if there is a explicit requirement for ‘consistency’ that’s probably exactly what they don’t want you to do.

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

Sidebar

Related Questions

I am considering using Firebase for an application that should people to use full-text
I've got stored procedure that performs search using full-text indexes in general case. But
I'm new to java, but i need to use solr as full text search
I've made an application that makes full use of ajax, and what I need
What options exist for creating a scalable, full text search with results that need
I am making an application where I am going to need full text search
Hello i'm using SQL server full-text search. when i use the FreeText predicate it
I need to use the objdump and readelf commands in my application that runs
I am using ordinary search functionality in my business controller . but now need
I'm looking at creating a full text search engine for one of my projects.

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.