Jump to content

Forum Search engin to search keywords in database in php


neel_1708

Recommended Posts

I am developing a intranet forum in Php and MySQL and I am using ajax to display searched results on the same page but right now I am using query LIKE text% to search in database which is slower. but I want to make it fast search engin which can parse *,+ and show result.

 

Since I am using ajax i am not able to use free search engin,so if possible pls provide a complete solution

Alexv's suggestion is a good one, fulltext in boolean mode is the way to go.

http://dev.mysql.com/doc/refman/5.6/en/fulltext-search.html

requires the MyISAM table type, InnoDB not supported

 

Another alternative is sphinx.

http://sphinxsearch.com/about/sphinx/

 

Or even Lucene

http://lucene.apache.org/java/docs/index.html

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.