Jump to content

Recommended Posts

Hello all,

 

I am in the middle of developing a document management system (think "low level library system"). I estimate there to be no more than 50000 records/rows in the main tables of the database. At no time will more than 5 users be running searches at the same time, and there will only be one person adding or updating records.

I have a few questions regarding how I should implement search functions in this system.

 

1. For efficiency and speed. Given the estimates above, should I use mySQL's full text search functions, or simply run standard sql queries to retrieve my data? Will performance suffer greatly if I use standard sql queries?

 

2. From my understanding there are problems retrieving certain characters such as "++" and "#" using full text search. Is that correct?

 

3. I will need to retrieve data in some searches from different tables. In effect, I will need to select data from "table1" and "table2" with a join and use that as the return of a search. Can this be done with full text searches?

 

Thanks for any advice you can offer,

 

Jonas

Link to comment
https://forums.phpfreaks.com/topic/41083-full-text-search-vs-standard-sql-search/
Share on other sites

1. For "text" searching, full-text works great... as opposed to LIKE '%whatever%' which is horrible.

2. Correct, they are simply ignored.

3. You can't full-text search across tables... you'd have to make a pseudo-table with the relevant text values from all of the "pieces" and index that table.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.