title: How to add a search functionality to a PHP website, without using Java or Google site search?
body: <p>I would like to add a search field to my site. The site is based on PHP and the Yii framework. The web-server assembles multiple data (from files and APIs) before serving the resulting web-page (the web-server will get these pieces of data out of a MySQL database sooner or later, but it's just files at the moment, and API results).</p>
  
  <p>Apache's Lucene could answer the problem, but there is no way to use Java on the server - I am on a shared Linux host.</p>
  
  <p>Google site search (or bing's,..) could answer the problem, but I would like to have a fully-customizable search box, and add some results to the proposed result.</p>
  
  <p>I could create my own search engine, indexing pages and using different weights according to where each piece of data come from, to have a precise result ; but I think there must be something out there that would be more efficient, and quicker to implement.</p>
  
  <p>What'd be a way to add a quick search functionality to a PHP based website, without using Java or Google site search ?</p>