PHP and MySQL Searching TEXT Field

This is a discussion on PHP and MySQL Searching TEXT Field within the PHP General forums, part of the PHP Programming Forums category; Hi everyone, I'm designing an application and have field defined in a table as Text where I store Articles. ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-16-2005
Maziar Aflatoun
 
Posts: n/a
Default PHP and MySQL Searching TEXT Field

Hi everyone,

I'm designing an application and have field defined in a table as Text where
I store Articles. I need to search the contents of my field for specific
keyword phrases for all the rows (5000+ rows). What is the best method to
do this? Should I use indexes or FullText? Also with indexes what would be
the best Key size?

Thank you
Maz.


Reply With Quote
  #2 (permalink)  
Old 05-24-2005
Joseph Melnick
 
Posts: n/a
Default Re: PHP and MySQL Searching TEXT Field

Hello Maziar,

The short answer is yes.

As in the example I supplied to you on may 18th.

This example came from MySQL.com @
http://dev.mysql.com/doc/mysql/en/fulltext-search.html
which describes in detail what you want to know.

Good Luck.

Joseph Melnick
JM Web Consultants
http://www.jphp.com/




"Maziar Aflatoun" <maz00@rogers.com> wrote in message
news:HLydnQ5wU8FLShrfRVn-oA@rogers.com...
> Hi everyone,
>
> I'm designing an application and have field defined in a table as Text
> where
> I store Articles. I need to search the contents of my field for specific
> keyword phrases for all the rows (5000+ rows). What is the best method to
> do this? Should I use indexes or FullText? Also with indexes what would be
> the best Key size?
>
> Thank you
> Maz.
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0