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:
create column in post table soundex copy of title , have full-text index on it.
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
Post a Comment