Once theSphinx server is setup, we can begin with WordPress integration. The first thing we need to do capture the override the query_vars in WP_Query before it runs it’s own search. We’ll do this by running an action on ‘parse_query’ with the code below. function my_parse_query(&$wp_query) { if($wp_query->is_search && class_exists(’SphinxClient’)) { $results [...]
Digg ThisFiled in Development, Programming, Search, WordPress
Sphinx is a powerful open source SQL full-text search engine. It runs as a single process in the background, and can be connected to over a specified IP and port. It supports weighted ranking of search results, different search matching modes (all words in the query, any words in the query, exact phrase), and filtering [...]
Digg ThisFiled in Development, Programming, Search, WordPress
We have short attention spans, and so much of what happens in social media is ‘in the moment’ – that leads to one of the long-term problems of social media; maximizing value of old content. A number of corporate blogs have been publishing for more than 3-4 years now and that is a great deal [...]
Digg ThisFiled in Marketing, Search
How many of us have Googled ourselves? Raise your hand. It’s safe to assume that the vast majority of people who use the Internet with any regularity have run a search on themselves via one of the major search engines. Google’s been a verb for some time now so that’s what I do, but I’ve [...]
Digg ThisFiled in Search