Consolodating Search for a c5/wordpress hybrid site
Permalink
I'm embarking on building a site that uses c5 for all the content management but uses Wordpress (installed on the same server) for the blog section, as seems to be the current recommendation (seehttp://www.concrete5.org/index.php?cID=1754)... for robust blog features.
My question is this: How can I build a global site search that will see content in both the C5 and wordpress DB's? Has anyone come upon this problem? I'd prefer not to have to use domain-restricted Google search or the like.
Thanks!
My question is this: How can I build a global site search that will see content in both the C5 and wordpress DB's? Has anyone come upon this problem? I'd prefer not to have to use domain-restricted Google search or the like.
Thanks!
There are actually quite a few possibilities to do this.
1.) Sphinxsearch
Configure the SQL Indexer to grab the needed information from the Wordpress and c5 tables and construct the needed target URLs.
http://www.sphinxsearch.com/
2.) Apache Lucene/Nutch
Create an Lucene-Index with the Nutch Website Crawler (really fast). The resulting index can than be searched with Lucene or the Lucene extension for the Zend Framework.
http://lucene.apache.org/nutch/...
3.) Sphider (PHP only)
Sphider is a website crawler and search engine written in pure PHP. The results are not quite as good as using nutch but this solution is really easy to implement.
http://www.sphider.eu/
Cheers
Dietz