Fulltext Search with InnoDB

Along with the general phasing out of MyISAM, InnoDB full-text search (FTS) is finally available in MySQL 5.6.4 release. Lots of juicy details at https://dev.mysql.com/doc/refman/5.6/en/innodb-fulltext-index.html. While other engines have lots of different features, this one is InnoDB, so it’s native (which means there’s an upgrade path), and that makes it a worthwhile option.

Cannot use a CONTAINS or FREETEXT predicate on table or indexed view because it is not full-text indexed

Make sure you have full-text search feature installed. Create full-text search catalog (if needed) First check if any catalog already exists select * from sys.fulltext_catalogs If no catalog is found create one use [DatabaseName] create fulltext catalog FullTextCatalog as default you can verify that the catalog was created in the same way as above Create … Read more

Choosing a stand-alone full-text search server: Sphinx or SOLR? [closed]

I’ve been using Solr successfully for almost 2 years now, and have never used Sphinx, so I’m obviously biased. However, I’ll try to keep it objective by quoting the docs or other people. I’ll also take patches to my answer 🙂 Similarities: Both Solr and Sphinx satisfy all of your requirements. They’re fast and designed … Read more

Beginner’s guide to ElasticSearch [closed]

Edit (April 2015): As many have noticed, my old blog is now defunct. Most of my articles were transferred over to the Elastic blog, and can be found by filtering on my name: https://www.elastic.co/blog/author/zachary-tong To be perfectly honest, the best source of beginner knowledge is now Elasticsearch – The Definitive Guide written by myself and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)