Elegant way to search (PHP + MySQL) -


we have website written in codeigniter framework. want have nice , fast soundex based search function site. it's micro blog search in titles of posts.

so best us?

i have 2 ideas:

  1. create column in post table soundex copy of title , have full-text index on it.

  2. explode words titles , save soundex equivalent of words in new table id of post. automatic tag system.

which method better , why? can suggest better way?

thanks answers!

soundex great - doesn't meet user expectations search (established google etc.).

the common solution text searching, including fuzzy searches , stemming, use solr; it's relatively easy integrate php using web service calls.

the zend framework has lucene integration (never used it, might save time) - lucene open source free text search platform .


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -